Comparing version 0.2.1 to 0.2.2
@@ -8,4 +8,5 @@ { | ||
"maxHistory": 0, | ||
"mixins": [], | ||
"typology": null, | ||
"validate": null | ||
} |
@@ -11,3 +11,3 @@ /** | ||
Object.defineProperty(Baobab, 'version', { | ||
value: '0.2.1' | ||
value: '0.2.2' | ||
}); | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "baobab", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "JavaScript data tree with cursors.", | ||
@@ -8,7 +8,7 @@ "main": "index.js", | ||
"emmett": "^2.1.1", | ||
"typology": "^0.3.0" | ||
"typology": "^0.3.1" | ||
}, | ||
"devDependencies": { | ||
"async": "~0.9.0", | ||
"browserify": "^7.0.0", | ||
"browserify": "^8.0.3", | ||
"gulp": "^3.8.10", | ||
@@ -20,3 +20,3 @@ "gulp-header": "^1.2.2", | ||
"gulp-uglify": "^1.0.2", | ||
"jsdom": "^1.5.0", | ||
"jsdom": "^2.0.0", | ||
"lodash.clonedeep": "^2.4.1", | ||
@@ -37,3 +37,2 @@ "mocha": "^2.0.1", | ||
"cursors", | ||
"immutable", | ||
"atom", | ||
@@ -40,0 +39,0 @@ "tree", |
@@ -453,2 +453,3 @@ [![Build Status](https://travis-ci.org/Yomguithereal/baobab.svg)](https://travis-ci.org/Yomguithereal/baobab) | ||
* **maxHistory** *number* [`0`]: max number of records the tree is allowed to store within its internal history. | ||
* **mixins** *array*: optional mixins to merge with baobab's ones. Recommending the [pure render](http://facebook.github.io/react/docs/pure-render-mixin.html) one from react. | ||
* **typology** *Typology|object*: a custom typology to be used to validate the tree's data. | ||
@@ -455,0 +456,0 @@ * **validate** *object*: a [typology](https://github.com/jacomyal/typology) schema ensuring the tree's data is valid. |
@@ -64,3 +64,3 @@ /** | ||
for (i = 0, l = path.length; i < l; i++) { | ||
if (typeof c[path[i]] === 'undefined') | ||
if (!c) | ||
return; | ||
@@ -67,0 +67,0 @@ c = c[path[i]]; |
@@ -12,2 +12,3 @@ /** | ||
return { | ||
mixins: baobab.options.mixins, | ||
componentWillMount: function() { | ||
@@ -97,2 +98,3 @@ | ||
return { | ||
mixins: cursor.root.options.mixins, | ||
componentWillMount: function() { | ||
@@ -99,0 +101,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
41301
13
885
631
Updatedtypology@^0.3.1