1(function(window) { 2 3 var OverviewView = Backbone.View.extend({ 4 5 el: $("#overview-overlay"), 6 scrollHeight: 0, 7 8 initialize: function () { 9 10 // Private properties 11 var el = this.$el; 12 13 this.$el.find(".overview-item").each(function( index ) { 14 15 var project = DataManager.getProjectByName( $(this).data("id") ); 16 if (project) 17 { 18 $(this).find(".title").html(project.get("title")); 19 $(this).find(".subtitle").html(project.get("type")); 20 } 21 }); 22 23 // Public methods 24 this.show = function () { 25 26 el.show(); 27 TweenMax.to( el, 0, {alpha:1} ); 28 } 29 30 this.hide = function () { 31 32 el.hide(); 33 TweenMax.to( el, 0, {alpha:0} ); 34 35 } 36 37 this.layout = function( isOnResize ) { 38 39 el.find("table").width( 2 * Math.round( windowWidth / 2) ); 40 this.scrollHeight = el.find("table").height(); 41 } 42 43 this.render = function() { 44 45 } 46 47 }, 48 49 }); 50 51 window.OverviewView = OverviewView; 52 53}(window));
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.