Comparing version 0.1.1 to 0.1.2
@@ -54,8 +54,4 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(this, /******/ (function(modules) { // webpackBootstrap | ||
'use strict'; | ||
/* WEBPACK VAR INJECTION */(function(global) {'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _factory = __webpack_require__(2); | ||
@@ -73,21 +69,9 @@ | ||
var flow = (0, _factory2.default)(_consts.DEFAULTS, "flow"); | ||
_logger2.default.init(flow); | ||
var root = (0, _factory2.default)(_consts.DEFAULTS, "flow"); | ||
_logger2.default.init(root); | ||
console.log('t', undefined); | ||
// if (typeof define === 'function' && define.amd) { | ||
// // AMD. Register as an anonymous module. | ||
// define([], ()=>instance); | ||
// } else if (typeof module === 'object' && module.exports) { | ||
// // Node. Does not work with strict CommonJS, but | ||
// // only CommonJS-like environments that support module.exports, | ||
// // like Node. | ||
// module.exports = instance; | ||
// } else { | ||
// // Browser globals ("this" is window) | ||
// scope["this"].flow = instance | ||
// } | ||
global.nflow = root; | ||
module.exports = root; | ||
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) | ||
exports.default = flow; | ||
/***/ }, | ||
@@ -799,3 +783,3 @@ /* 2 */ | ||
flow.name.value = name; | ||
_logger2.default.dispatchInternalEvent(flow, 'name', name, previousName); | ||
(0, _utils.dispatchInternalEvent)(flow, 'name', name, previousName); | ||
return flow; | ||
@@ -802,0 +786,0 @@ }; |
{ | ||
"name": "nflow", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "event/data/control flow", | ||
@@ -9,5 +9,6 @@ "main": "dist/nflow.js", | ||
"pretest": "webpack --config webpack.tests.config.js", | ||
"test": "mocha ./.test/test.node.js --reporter spec", | ||
"test": "mocha ./.test/test.node.js --reporter mocha-circleci-reporter", | ||
"start": "webpack --watch --colors", | ||
"dev": "webpack-dev-server", | ||
"prepublish-to-npm": "webpack", | ||
"publish-to-npm": "publish" | ||
@@ -40,3 +41,4 @@ }, | ||
"webpack-dev-server": "^1.12.1", | ||
"publish": "0.5.0" | ||
"publish": "0.5.0", | ||
"mocha-circleci-reporter": "^0.0.1" | ||
}, | ||
@@ -43,0 +45,0 @@ "directories": { |
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
84797
35
18
2094