Source: app.js

/**
 * @namespace sh
 */

/**
 * @namespace libs
 * @memberof sh
 */

/**
 * jQuery object
 * @external jQuery
 * @see {@link http://api.jquery.com/jQuery/}
 */

/**
 * moment date
 * @external moment
 * @see {@link http://momentjs.com}
 */

;(function () {
    'use strict';

    sh.version = function(){
        var self = this;
        return self.config.version;
    };
    
    // Inits all components
    sh.init = function(){
        var self = this;
        for(var component in self.libs) {
            if ( typeof self.libs[component].init === 'function' ){
                self.libs[component].init();
                
                //Bind components to jQuery as plugins
                self.utils.jQueryPlugin(component);
            }
        }
    };

    // Reflow all components
    sh.reflow = function(){
        var self = this;
        for(var component in self.libs) {
            if ( typeof self.libs[component].init === 'function' ){
                self.libs[component].reflow();
            }
        }
    };

    Foundation.global.namespace = '';
    $(document).foundation();

    sh.init();

})();