ribbons.application
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -7,2 +7,3 @@ var fileSystem = require("fs"); | ||
// TODO: DRY up these loops | ||
Application.prototype.init = function () { | ||
@@ -19,2 +20,6 @@ requireComponents.call(this); | ||
} | ||
for (actuator in this.actuators) { | ||
this.actuators[actuator].platforms = this.platforms; | ||
this.actuators[actuator].init(); | ||
} | ||
} | ||
@@ -30,2 +35,6 @@ | ||
} | ||
for (actuator in this.actuators) { | ||
this.actuators[actuator].start(); | ||
} | ||
}; | ||
@@ -41,2 +50,6 @@ | ||
} | ||
for (actuator in this.actuators) { | ||
this.actuators[actuator].stop(); | ||
} | ||
}; | ||
@@ -75,2 +88,3 @@ | ||
app[baseTypeName][componentName] = components[componentName]; | ||
components[componentName].name = componentName; | ||
} | ||
@@ -77,0 +91,0 @@ }); |
{ | ||
"name": "ribbons.application", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"author": "Brian Mulloy <b@ribbonfarm.org>", | ||
@@ -5,0 +5,0 @@ "description": "Prototype for Ribbons applications.", |
@@ -9,3 +9,3 @@ var util = require('util'); | ||
// initialize components | ||
app.requireComponents(); | ||
app.init(); | ||
@@ -12,0 +12,0 @@ // start it up if requested |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3257
83