vanilla-es6-jspm

API Docs for: 0.10.3
Show:

File: src/app/main.js

/**
 * @module src/app
 */

import Geolocation from './components/Geolocation/Geolocation.js';

/**
 * This class is called by the app entry point.
 * It holds the logic initiation.
 * @class main
 */
export default class main {
  /**
   * Inits the whole logic of the app
   * @method init
   * @static
   */
  static init() {
    this.initGeolocation();
  }

  /**
   * Inits the {{#crossLink "components.Geolocation.Geolocation"}}Geolocation{{/crossLink}} component
   * @method initGeolocation
   * @static
   */
  static initGeolocation() {
    (new Geolocation('geolocation')).init();
  }
}