Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "brink", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./src/brink/brink.js", |
# brink.js | ||
####A Modular JavaScript Framework | ||
--------------------- | ||
- Works in the browser and node.js. | ||
- No external dependencies. | ||
- Stays out of your way. | ||
- 20kb (minified and gzipped) | ||
- Use as much or as little of it as you want. | ||
- Easily use side-by-side with React or Angular. | ||
--------------------- | ||
#### Core Features | ||
####Data-binding, observers and computed properties in Node and the browser. | ||
----------------------------- | ||
- [Two-way Data Binding](#dataBinding) | ||
- [Observers](#observers) | ||
- [Computed Properties](#computedProps) | ||
@@ -23,5 +13,13 @@ - [Inheritance](#inheritance) | ||
- IE9 + support | ||
- 20kb (minified and gzipped) | ||
- Works in the browser and node.js. | ||
----------------------------- | ||
######How it works. | ||
Data binding works by using `Object.defineProperty()` to define getters and setters for your properties behind the scenes. | ||
Watchers are not invoked immediately when a property changes, they are automatically debounced. So even if you change a property multiple times in one run loop, the watcher will only be called once (in the next run loop). | ||
<a name="dataBinding"></a> | ||
@@ -75,2 +73,6 @@ #### Data Binding | ||
<a name="observers"></a> | ||
#### Observers | ||
You can also set up functions to watch for property changes: | ||
@@ -98,8 +100,2 @@ | ||
######How it works. | ||
Data binding works by using `Object.defineProperty()` to define getters and setters for your properties behind the scenes. | ||
Watchers are not invoked immediately when a property changes, they are automatically debounced. So even if you change a property multiple times in one run loop, the watcher will only be called once (in the next run loop). | ||
<a name="computedProps"></a> | ||
@@ -106,0 +102,0 @@ #### Computed Properties |
955198
355