1(function(root, factory) { 2 if (typeof define === 'function' && define.amd) { 3 define(factory) 4 } else if (typeof exports === 'object') { 5 module.exports = factory() 6 } else { 7 root.TwsMenu = factory() 8 } 9}(this, function() { 10 11 function TwsMenu(options) { 12 13 $('.tws-menu-btn').on('click', function() { 14 if ($('nav').css('display') == 'none') { 15 $('nav').css('display', 'block'); 16 } else { 17 $('nav').css('display', 'none'); 18 } 19 }); 20 } 21 22 TwsMenu.prototype._self = function() { 23 return this; 24 } 25 26 return { 27 tws_menu: TwsMenu 28 } 29}))
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.