This assumes you already have a Yeoman app and are ready for publishing
Create production directory & assets
| ("#foo").on({ | |
| click: function(){ alert("Hello") }, | |
| mouseout: function(){ alert("World") } | |
| }); | |
| // Lookup events for this particular Element | |
| $._data( $("#foo")[0], "events" ); | |
| $._data($("#button1").get(0),"events") |
| $('*').each(function () { | |
| var viewportWidth = 1024; | |
| var outerWidth = $(this).outerWidth(); | |
| if( outerWidth > viewportWidth ){ | |
| //prints element in console so you can check what's the element | |
| console.log($(this)[0]); | |
| } | |
| }); |
This assumes you already have a Yeoman app and are ready for publishing
Create production directory & assets