Skip to content

Instantly share code, notes, and snippets.

@NatalieMac
Last active January 2, 2016 03:30
Show Gist options
  • Save NatalieMac/0a8758acf823a2755573 to your computer and use it in GitHub Desktop.
Save NatalieMac/0a8758acf823a2755573 to your computer and use it in GitHub Desktop.
;(function ($, yourslug, undefined) {
var mainNav = function() {
// This is a private function
};
yourslug.init = function() {
// This is a public funciton
};
}(jQuery, window.yourslug = window.yourslug || {}));
jQuery(function(){
yourslug.init();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment