Comparing version 5.0.0-1531254621854 to 5.0.0-1531254861331
@@ -63,3 +63,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
_this.version = "5.0.0-1531254621854"; | ||
_this.version = "5.0.0-1531254861331"; | ||
_this.debuggerWatchMap = {}; | ||
@@ -66,0 +66,0 @@ _this.debuggerComputedMap = {}; |
@@ -10,4 +10,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
import App from '../'; | ||
import { DevtoolsBase } from 'function-tree/devtools'; | ||
import { Provider as FTProvider } from 'function-tree'; | ||
import { DevtoolsBase } from 'function-tree/devtools'; | ||
import { ensurePath } from '../utils'; | ||
@@ -137,3 +137,9 @@ | ||
return nextMock.value; | ||
var value = nextMock.value; | ||
if (typeof value === 'function') { | ||
return value.apply(undefined, [context].concat(args)); | ||
} else { | ||
return value; | ||
} | ||
}; | ||
@@ -140,0 +146,0 @@ |
@@ -81,3 +81,3 @@ 'use strict'; | ||
_this.version = "5.0.0-1531254621854"; | ||
_this.version = "5.0.0-1531254861331"; | ||
_this.debuggerWatchMap = {}; | ||
@@ -84,0 +84,0 @@ _this.debuggerComputedMap = {}; |
@@ -13,6 +13,6 @@ 'use strict'; | ||
var _devtools = require('function-tree/devtools'); | ||
var _functionTree = require('function-tree'); | ||
var _devtools = require('function-tree/devtools'); | ||
var _utils = require('../utils'); | ||
@@ -150,3 +150,9 @@ | ||
return nextMock.value; | ||
var value = nextMock.value; | ||
if (typeof value === 'function') { | ||
return value.apply(undefined, [context].concat(args)); | ||
} else { | ||
return value; | ||
} | ||
}; | ||
@@ -153,0 +159,0 @@ |
{ | ||
"name": "cerebral", | ||
"version": "5.0.0-1531254621854", | ||
"version": "5.0.0-1531254861331", | ||
"description": "A state controller with its own debugger", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"es6-error": "^4.0.2", | ||
"function-tree": "^3.3.0-1531254621854" | ||
"function-tree": "^3.3.0-1531254861331" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
777586
7748