1//------------------------------------------------------------------------------ 2// class inheritance 3var __extends = this.__extends || function (d, b) { 4 for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 5 function __() { this.constructor = d; } 6 __.prototype = b.prototype; 7 d.prototype = new __(); 8}; 9//------------------------------------------------------------------------------ 10 11//------------------------------------------------------------------------------ 12// home 13//------------------------------------------------------------------------------ 14var Home = (function (_super) { 15 __extends(Home, _super); 16 17 //-------------------------------------------------------------------------- 18 // constructor 19 function Home() { 20 _super.call(this); 21 22 this.addFragment(new FragmentHeader()); 23 //this.addFragment(new FragmentSquares(), '#frontend_container'); 24 this.addFragment(new FragmentCarousel(), '#frontend_container'); 25 } 26 27 //------------------------------------------------------------------------------ 28 // ready 29 Home.prototype.ready = function() { 30 31 this.populate('body', 'home', {}, true); 32 _super.prototype.ready.call(this); 33 } 34 35 //------------------------------------------------------------------------------ 36 return Home; 37})(Fragment.App); 38//---------------------------------------------------------------------------------- 39 40//---------------------------------------------------------------------------------- 41// ready 42FGReady = function() { 43 var x = new Home(); 44 x.ready(); 45}; 46//----------------------------------------------------------------------------------
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.