/ Published in: JavaScript
A JavaScript starter with a namespace and closure
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function() { NAMESPACE.init(); }); var NAMESPACE = NAMESPACE || {}; NAMESPACE.init(); (function($) { }(jQuery));