mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
fix
This commit is contained in:
parent
0f45cd28ac
commit
7855b2847c
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
var LIB = require("lib/std");
|
var LIB = require("lib/std");
|
||||||
|
|
||||||
exports.VERSIONINFO = "Database Module (db.js) version 1.0";
|
exports.VERSIONINFO = "Database Lib (db.js) version 1.0";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
var LIB = require("lib/std");
|
var LIB = require("lib/std");
|
||||||
|
|
||||||
exports.VERSIONINFO = "HTTP Module (http.js) version 0.1";
|
exports.VERSIONINFO = "HTTP Lib (http.js) version 0.1";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// JSON API
|
// JSON API
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
exports.VERSIONINFO = "JSON Module (json.js) version 0.1";
|
exports.VERSIONINFO = "JSON Lib (json.js) version 0.1";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
||||||
|
|
|
@ -1076,4 +1076,8 @@ JsUnit.Runner.run = function(pathToTestDir) {
|
||||||
})(pathToTestDir);
|
})(pathToTestDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exports.VERSIONINFO = "JSUnit Lib (jsunit.js) version 2.2";
|
||||||
|
exports.global = global;
|
||||||
|
exports.require = global.require;
|
||||||
|
|
||||||
exports.JsUnit = JsUnit;
|
exports.JsUnit = JsUnit;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
var SHELL = require("lib/shell");
|
var SHELL = require("lib/shell");
|
||||||
|
|
||||||
exports.VERSIONINFO = "Service Module (service.js) version 0.1";
|
exports.VERSIONINFO = "Service Lib (service.js) version 0.1";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ exports.queryService = function(name, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_options[k] !== false) {
|
if(_options[k] !== false) {
|
||||||
if(_options[k].constructor == Array) {
|
if(Array.isArray(_options[k])) {
|
||||||
for(var i in options[k]) {
|
for(var i in options[k]) {
|
||||||
cmd.push(k + '=');
|
cmd.push(k + '=');
|
||||||
cmd.push(_options[k][i]);
|
cmd.push(_options[k][i]);
|
||||||
|
@ -69,7 +69,7 @@ exports.createService = function(name, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_options[k] !== false) {
|
if(_options[k] !== false) {
|
||||||
if(_options[k].constructor == Array) {
|
if(Array.isArray(_options[k])) {
|
||||||
for(var i in options[k]) {
|
for(var i in options[k]) {
|
||||||
cmd.push(k + '=');
|
cmd.push(k + '=');
|
||||||
cmd.push(_options[k][i]);
|
cmd.push(_options[k][i]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user