Comparing version 0.2.1 to 0.2.2
@@ -565,4 +565,9 @@ const CHART_MAX_TICKS = 60; | ||
//don't reload an already loaded flow | ||
if(this.loadedFlow && this.loadedFlow._id === flow._id) { | ||
return; | ||
} | ||
//unload already loaded flow | ||
if (this.loadedFlow) { | ||
this.loadedFlow.removeAllStatuses(); | ||
@@ -569,0 +574,0 @@ this.loadedFlow.editor = null; |
@@ -420,5 +420,9 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.XibleWrapper = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
dataObject = value; | ||
return value; | ||
if (this !== inputsObject && this !== outputsObject) { | ||
dataObject = value; | ||
return value; | ||
} // jshint ignore: line | ||
default: | ||
@@ -425,0 +429,0 @@ |
102
package.json
{ | ||
"name": "xible", | ||
"version": "0.2.1", | ||
"description": "xible", | ||
"license": "MIT", | ||
"homepage": "https://xible.io", | ||
"author": { | ||
"name": "Stefan de Jong" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/spectrumbroad/xible" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/spectrumbroad/xible/issues", | ||
"email": "bugs@xible.io" | ||
}, | ||
"keywords": [ | ||
"xible", | ||
"visual", | ||
"connector", | ||
"wire", | ||
"programming", | ||
"node" | ||
], | ||
"scripts": { | ||
"start": "node cli.js server start", | ||
"debug": "export DEBUG=\"xible*\"; nodemon cli.js server start", | ||
"debug-win": "set DEBUG=xible* & nodemon cli.js server start", | ||
"inspect": "export DEBUG=\"xible*\"; nodemon --inspect cli.js server start", | ||
"inspect-win": "set DEBUG=xible* & nodemon --inspect cli.js server start" | ||
}, | ||
"bin": { | ||
"xible": "./cli.js", | ||
"xiblepm": "./pmcli.js" | ||
}, | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=7.0.0" | ||
}, | ||
"dependencies": { | ||
"xible-registry-wrapper": "*", | ||
"nopt": "*", | ||
"uws": "*", | ||
"ws": "*", | ||
"debug": "*", | ||
"express": "*", | ||
"body-parser": "*", | ||
"spdy": "*", | ||
"sanitize-filename": "*", | ||
"fs-extra": "*" | ||
} | ||
"name": "xible", | ||
"version": "0.2.2", | ||
"description": "xible", | ||
"license": "MIT", | ||
"homepage": "https://xible.io", | ||
"author": { | ||
"name": "Stefan de Jong" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/spectrumbroad/xible" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/spectrumbroad/xible/issues", | ||
"email": "bugs@xible.io" | ||
}, | ||
"keywords": [ | ||
"xible", | ||
"visual", | ||
"connector", | ||
"wire", | ||
"programming", | ||
"node" | ||
], | ||
"scripts": { | ||
"start": "node cli.js server start", | ||
"debug": "export DEBUG=\"xible*\"; nodemon cli.js server start", | ||
"debug-win": "set DEBUG=xible* & nodemon cli.js server start", | ||
"inspect": "export DEBUG=\"xible*\"; nodemon --inspect cli.js server start", | ||
"inspect-win": "set DEBUG=xible* & nodemon --inspect cli.js server start" | ||
}, | ||
"bin": { | ||
"xible": "./cli.js", | ||
"xiblepm": "./pmcli.js" | ||
}, | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=7.0.0" | ||
}, | ||
"dependencies": { | ||
"xible-registry-wrapper": "*", | ||
"nopt": "*", | ||
"uws": "*", | ||
"ws": "*", | ||
"debug": "*", | ||
"express": "*", | ||
"body-parser": "*", | ||
"spdy": "*", | ||
"sanitize-filename": "*", | ||
"fs-extra": "*" | ||
} | ||
} |
39
pmcli.js
@@ -141,13 +141,7 @@ #!/usr/bin/env node | ||
}) | ||
.catch((err) => { | ||
logError(`Failed to publish nodepack "${nodePack.name}": ${err}`); | ||
}); | ||
.catch((err) => logError(`Failed to publish nodepack "${nodePack.name}": ${err}`)); | ||
}).catch((err) => { | ||
logError(`Failed to get nodepack from registry: ${err}`); | ||
}); | ||
}).catch((err) => logError(`Failed to get nodepack from registry: ${err}`)); | ||
}).catch((err) => { | ||
logError(`Failed to get user from token: ${err}`); | ||
}); | ||
}).catch((err) => logError(`Failed to get user from token: ${err}`)); | ||
@@ -165,6 +159,9 @@ }); | ||
.getByName(ARG) | ||
.then((nodePack) => nodePack.install()) | ||
.catch((err) => { | ||
console.log(err); | ||
}); | ||
.then((nodePack) => { | ||
if(!nodePack) { | ||
return logError(`Nodepack "${ARG}" does not exist`); | ||
} | ||
nodePack.install(); | ||
}) | ||
.catch((err) => logError(err)); | ||
@@ -192,5 +189,3 @@ }, | ||
}) | ||
.catch((err) => { | ||
logError(err); | ||
}); | ||
.catch((err) => logError(err)); | ||
@@ -247,5 +242,3 @@ } | ||
}) | ||
.catch((err) => { | ||
logError(err); | ||
}); | ||
.catch((err) => logError(err)); | ||
@@ -287,5 +280,3 @@ }, | ||
}) | ||
.catch((err) => { | ||
logError(err); | ||
}); | ||
.catch((err) => logError(err)); | ||
@@ -351,5 +342,3 @@ }, | ||
}) | ||
.catch((err) => { | ||
logError(err); | ||
}); | ||
.catch((err) => logError(err)); | ||
@@ -356,0 +345,0 @@ } |
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
1110413
1
10664