Project

General

Profile

« Previous | Next » 

Revision 53379

submit facelift css changes part 2

View differences:

addThis.component.ts
4 4
 interface addthis {
5 5
     layers: refresh;
6 6
     init: Function;
7
     toolbox: Function;
7 8
 }
8 9
 interface refresh {
9 10
     refresh: Function;
10 11
 }
11 12
 declare var addthis: addthis;
13
 // declare var loadAddThis: any;
12 14

  
13 15
//<addThis ></addThis>
14 16
@Component({
......
30 32
      if (typeof document !== 'undefined' && typeof addthis !== 'undefined') {
31 33
        try{
32 34
          console.log("AddThis: try load");
33
          addthis.init();
35
          // addthis.toolbox();
36
          // addthis.init();
34 37
          addthis.layers.refresh();
35 38
        }catch (e) {
36
          console.log("AddThis may didn't load properly");
37
          addthis.init();
38
          addthis.layers.refresh();
39
          console.log("AddThis: one more");
39
          // console.log("AddThis may didn't load properly");
40
          //   try{
41
          //     addthis.init();
42
          // addthis.layers.refresh();
43
          // console.log("AddThis: one more");
44
          // }catch (e) {
45
          //   console.log("AddThis error again");
46
          // }
40 47
        }
41 48
      }
49
      // if (typeof document !== 'undefined' ) {
50
      //      console.log("AddThis: try load");
51
      //      loadAddThis();
52
      //
53
      //
54
      // }
42 55
  });
43 56

  
44 57
  }

Also available in: Unified diff