1 var ManageMenuBehaviour=function(MenuTypeObject){ 2 var self=this; 3 4 this.Execute=function(){ 5 MenuTypeObject.ManageBehaviour(); 6 } 7 }; 8 9/*Should implement the same interface */ 10 11var LoggedInNoSceneClubLinked=function(){ 12 13 var self=this; 14 15 this.ManageBehaviour=function() 16 { 17 jQuery("#link-scene-club-dropdown").popover({ 18 html : true, 19 content: function() { 20 return jQuery("#link-scene-club-content").html(); 21 }, 22 placement:"bottom" 23 }); 24 } 25}; 26 27 var LoggedInWithSceneClubLinked=function(){ 28 29 var self=this; 30 31 this.ManageBehaviour=function() 32 { 33 jQuery("#link-scene-club-dropdown-with-scene-club").popover({ 34 html : true, 35 content: function() { 36 return jQuery("#link-scene-club-content-with-scene-club").html(); 37 }, 38 placement:"bottom" 39 }); 40 } 41 }; 42 43 44 45 46jQuery(document).ready(function(){ 47 new ManageMenuBehaviour(new LoggedInNoSceneClubLinked()).Execute(); 48 new ManageMenuBehaviour(new LoggedInWithSceneClubLinked()).Execute(); 49}); 50 51 52 53 54
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.