Sha256: 9d903e386ef547089d1d36ace83c1b3ded26aab2f485f93c363781cbe0334935

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

var App, component, components = [];

App = {
  register(a_component) {
    components.push(a_component);
  },

  init() {
    for(component of components) {
      if(component.init) { component.init(); }
    }
  }
};

export default App;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docks_theme_api-1.0.3 source/foundation/app/app.js
docks_theme_api-1.0.2 source/foundation/app/app.js