Last active
January 25, 2018 13:42
-
-
Save philpalmieri/e43eff55c31ab6368fcd to your computer and use it in GitHub Desktop.
jQuery Plugin Skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JQuery | |
(function(root, $) { | |
/** | |
* Doc Block | |
*/ | |
function ClassName() { | |
// Methods and variables | |
} | |
// register namespace | |
$.extend(true, root, { | |
NameSpace : { | |
ClassName : ClassName | |
} | |
}); | |
})(this, jQuery); // this === window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment