Comparing version 0.0.1 to 0.0.2
export * from './store'; | ||
export * from './actionFactory'; | ||
export * from './helpers'; | ||
export * from './helpers'; | ||
import { IState } from './store'; | ||
export declare let bootstrap: (defaultState: IState, renderCallback: () => void, subStateSeparator?: string) => void; |
@@ -6,2 +6,4 @@ function __export(m) { | ||
__export(require('./actionFactory')); | ||
__export(require('./helpers')); | ||
__export(require('./helpers')); | ||
var store_2 = require('./store'); | ||
@@ -8,0 +10,0 @@ var actionFactory_2 = require('./actionFactory'); |
export * from './store'; | ||
export * from './actionFactory'; | ||
export * from './helpers'; | ||
export * from './helpers'; | ||
import { IState } from './store'; | ||
@@ -5,0 +7,0 @@ import { bootstrap as storeBootstrap } from './store'; |
@@ -46,3 +46,3 @@ var h = require('./helpers'); | ||
function checkSubstate(s, subPath, cursorKey) { | ||
if (!s[subPath]) | ||
if (s[subPath] === undefined) | ||
throw "State for cursor key (" + cursorKey + ") does not exist."; | ||
@@ -49,0 +49,0 @@ } |
@@ -65,3 +65,3 @@ import * as h from './helpers'; | ||
function checkSubstate(s: IState, subPath: string, cursorKey: string) { | ||
if (!s[subPath]) | ||
if (s[subPath] === undefined) | ||
throw `State for cursor key (${cursorKey}) does not exist.`; | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "fun-model", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "fun-model is pure functional implementation of FLUX architecture.", | ||
@@ -11,3 +11,2 @@ "main": "dist/src/index.js", | ||
"keywords": [ | ||
"bobril", | ||
"flux", | ||
@@ -14,0 +13,0 @@ "es6" |
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
18245
217