-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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)) | ||
|
@@ -167,7 +168,6 @@ | |
} | ||
} | ||
this.ran = true; | ||
this.binders = []; | ||
} | ||
}; | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters