Comparing version 1.0.11 to 1.0.12
@@ -8,5 +8,3 @@ var isArray, isFunction, isObject, ref; | ||
ceProto = ce.prototype; | ||
ceProto.$nextTick = function(cb) { | ||
return setTimeout(cb.bind(this), 0); | ||
}; | ||
ceProto.$nextTick = require("./_nextTick"); | ||
if (ceProto.mixins != null) { | ||
@@ -13,0 +11,0 @@ flattenMixins = function(mixins) { |
@@ -215,4 +215,6 @@ var arrayProto, arrayize, clone, getID, i, isArray, isObject, isString, len, merger, method, ref, ref1, watchStr, | ||
} | ||
w = this.$watch.parse(this.watch[o.path], true); | ||
o.cbs = o.cbs.concat(w.cbs); | ||
if (isObject(this.watch)) { | ||
w = this.$watch.parse(this.watch[o.path], true); | ||
o.cbs = o.cbs.concat(w.cbs); | ||
} | ||
this.$watch.setObj(o); | ||
@@ -219,0 +221,0 @@ return o; |
{ | ||
"name": "ceri", | ||
"description": "Custom Elements enRIched", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"homepage": "https://github.com/cerijs/", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -28,3 +28,3 @@ # ceriJS | ||
So as a rule of thumb: use ceri if you plan to use your component across projects, if it is a project specific one use the framework of the project and keep it homogenous. | ||
So as a rule of thumb: use ceri if you plan to use your component across projects, if it is project specific, use the framework of the project and keep it homogenous. | ||
@@ -79,2 +79,3 @@ ## I want to use a component built with ceri | ||
- ATTENTION: ALL API IS STILL IN BETA AND CAN CHANGE ANYTIME | ||
@@ -92,3 +93,3 @@ ### Getting started | ||
```coffee | ||
# the wrapper creates a ES5 class (prototype chain) and calls ceri on it | ||
# the wrapper creates a ES6 or ES5 class, depending if the polyfill is loaded, and calls ceri on it | ||
ceri = require "ceri/lib/wrapper" | ||
@@ -95,0 +96,0 @@ # the component |
94029
35
2839
454