diff options
| author | Misko Hevery | 2010-07-02 15:39:47 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-07-02 15:39:57 -0700 | 
| commit | 1f0562150921ea2f05149b64ef0440937491def9 (patch) | |
| tree | 20c1c2c69038a7d02d720b811453df6438d274a5 /test/testabilityPatch.js | |
| parent | 105e9443c4170870dd34f69073a6eafaabeaf567 (diff) | |
| download | angular.js-1f0562150921ea2f05149b64ef0440937491def9.tar.bz2 | |
change all attributes from ng- to ng: prefix
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index d621b1f1..3020dfba 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -65,7 +65,7 @@ function sortedHtml(element) {        var attrs = [];        for(var i=0; i<attributes.length; i++) {          var attr = attributes[i]; -        if(attr.name.match(/^ng-/) || +        if(attr.name.match(/^ng:/) ||              attr.value &&              attr.value !='null' &&              attr.value !='auto' && @@ -81,7 +81,7 @@ function sortedHtml(element) {              attr.name !='style' &&              attr.name.substr(0, 6) != 'jQuery') {            // in IE we need to check for all of these. -          if (!/ng-\d+/.exec(attr.name)) +          if (!/ng:\d+/.exec(attr.name))              attrs.push(' ' + attr.name + '="' + attr.value + '"');          }        } | 
