Skip to content

Instantly share code, notes, and snippets.

@marcelosomers
Created September 10, 2014 15:30
Show Gist options
  • Select an option

  • Save marcelosomers/7b1adffae5603b1e4bb1 to your computer and use it in GitHub Desktop.

Select an option

Save marcelosomers/7b1adffae5603b1e4bb1 to your computer and use it in GitHub Desktop.

Revisions

  1. marcelosomers created this gist Sep 10, 2014.
    27 changes: 27 additions & 0 deletions Module.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    var App = App || {};
    App.Section = App.Section || {};

    App.Section.Script = function () {
    // Initialize global functions

    function initalizeDomElements() {

    }

    function wireEvents() {

    }

    function initialize() {
    initalizeDomElements;
    wireEvents();
    }

    return {
    initialize: initalize
    };
    }();

    $(document).ready(function() {
    App.Section.Script.initialize();
    });