diff options
| author | Igor Minar | 2011-03-06 23:42:25 -0800 |
|---|---|---|
| committer | Igor Minar | 2011-03-11 08:45:16 -0800 |
| commit | 7414e7b53302863911c734c8586b76767d2ded6b (patch) | |
| tree | 1ab801858bb019f8bf05a1a5f23753e3f7eaf01c /src | |
| parent | 5432dd289a38a43fc5db35a30b68c2a5b0dd169e (diff) | |
| download | angular.js-7414e7b53302863911c734c8586b76767d2ded6b.tar.bz2 | |
angularJsConfig now allows ng:autobind and #autobind value to be passed in
Diffstat (limited to 'src')
| -rw-r--r-- | src/Angular.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js index b5dc7e5e..6c6ee1e4 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -1002,7 +1002,7 @@ function angularJsConfig(document, config) { eachAttribute(jqLite(scripts[j]), function(value, name){ if (/^ng:/.exec(name)) { name = name.substring(3).replace(/-/g, '_'); - if (name == 'autobind') value = true; + value = value || true; config[name] = value; } }); |
