Skip to content

Commit

Permalink
v0.2.3: Close #25, #28, #29
Browse files Browse the repository at this point in the history
Add CHANGELOG.md (ref #27)
Fix bo-if (thanks @ctucker)
  • Loading branch information
Pasvaz committed Jan 20, 2014
1 parent d11f863 commit fbdb8b7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<a name="0.2.3"></a>
# 0.2.3 (2014-01-20)


## Bug Fixes

- **bo-if:**
- Ensures that we both process newly added binders from bo-if, and that
we only process each binder once ([d11f863](https://github.com/Pasvaz/bindonce/commit/e091c273bbd17603d410fecc363874f0d1e6f38e))

## Features

- **Minification:**
- add min file ([47277ee](https://github.com/Pasvaz/bindonce/commit/47277eedd092b3210de362c725a7dadcddac8e87))
- **Changelog:**
- Created a changelog file
12 changes: 6 additions & 6 deletions bindonce.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"use strict";
/**
* Bindonce - Zero watches binding for AngularJs
* @version v0.2.2 - 2013-05-07
* @version v0.2.3 - 2013-05-07
* @link https://github.com/Pasvaz/bindonce
* @author Pasquale Vazzana <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -101,13 +101,14 @@
}
},

runBinders : function()
runBinders: function ()
{
while(this.binders.length > 0) {
while (this.binders.length > 0)
{
var binder = this.binders.shift();
if (this.group && this.group != binder.group ) continue;
if (this.group && this.group != binder.group) continue;
var value = binder.scope.$eval((binder.interpolate) ? $interpolate(binder.value) : binder.value);
switch(binder.attr)
switch (binder.attr)
{
case 'if':
if (toBoolean(value))
Expand Down Expand Up @@ -167,7 +168,6 @@
}
}
this.ran = true;
this.binders = [];
}
};

Expand Down
2 changes: 1 addition & 1 deletion bindonce.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-bindonce",
"version": "0.2.2",
"version": "0.2.3",
"main": "bindonce.js",
"description": "Zero watchers binding directives for AngularJS",
"homepage": "https://github.com/Pasvaz/bindonce",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-bindonce",
"version": "0.2.2",
"version": "0.2.3",
"main": "bindonce.js",
"description": "Zero watchers binding directives for AngularJS",
"homepage": "https://github.com/Pasvaz/bindonce",
Expand Down

0 comments on commit fbdb8b7

Please sign in to comment.