ribbons.application
Advanced tools
Comparing version 0.0.5 to 0.0.6
var fileSystem = require("fs"); | ||
function Application(directory) { | ||
this.directory = directory; | ||
function Application(options) { | ||
options = options || {}; | ||
this.directory = options.directory; | ||
this.debug = options.debug; | ||
} | ||
@@ -17,2 +19,3 @@ | ||
this.sensors[sensor].platforms = this.platforms; | ||
this.sensors[sensor].debug = this.debug; | ||
this.sensors[sensor].init(); | ||
@@ -22,2 +25,3 @@ } | ||
this.actuators[actuator].platforms = this.platforms; | ||
this.actuators[actuator].debug = this.debug; | ||
this.actuators[actuator].init(); | ||
@@ -24,0 +28,0 @@ } |
{ | ||
"name": "ribbons.application", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "Brian Mulloy <b@ribbonfarm.org>", | ||
@@ -5,0 +5,0 @@ "description": "Prototype for Ribbons applications.", |
@@ -6,3 +6,6 @@ var util = require('util'); | ||
// make app global | ||
app = module.exports = new Application(__dirname); | ||
app = module.exports = new Application({ | ||
directory: __dirname, | ||
debug: true | ||
}); | ||
@@ -9,0 +12,0 @@ // initialize components |
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
3446
90