Your IP : 18.219.40.177


Current Path : /usr/local/mgr5/skins/orion/src/
Upload File :
Current File : //usr/local/mgr5/skins/orion/src/App.js

/**
 * namespace APP
 */
var App = App || {};


/**
 * Init method of application
 */
App.init = function() {
  'use strict';
  App.mgr();

  //core methods here
  function nextEventBind(e, data) {
    var event = data.event,
        cb = data.cb,
        tData = data.tData;
    if (typeof cb === 'function') {
      EventMgr.one(event, cb, tData);
    }
  }

  EventMgr.bind('nextEventBind', nextEventBind);
};


/**
 * Global vars
 */
App.Global = function() {
  'use strict';
  var HeaderMoving = false,
      bannerHtml = null,
      warning = [],
      anychartXML = null,
      selid,
      scrollTop,
      targetId = '',
      msg = {};

  return {
    HeaderMoving: HeaderMoving,
    bannerHtml: bannerHtml,
    warning: warning,
    anychartXML: anychartXML,
    selid: selid,
    scrollTop: scrollTop,
    msg: msg,
    targetId: targetId
  };
}();