aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorVojta Jina2011-05-31 21:28:42 +0200
committerIgor Minar2011-06-02 08:55:10 -0700
commitaa64d37a23d743d325b9d95cd4725042cca430db (patch)
treebe490773ae0289cf3d6303ddf50fe4fc2ead57a1 /test/testabilityPatch.js
parent2e5199997c77cb2febed4ff21bc12a5d5fbad4ce (diff)
downloadangular.js-aa64d37a23d743d325b9d95cd4725042cca430db.tar.bz2
Fix unit test in IE7
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index 0cc85a8c..5bcee3fe 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -215,7 +215,7 @@ function sortedHtml(element, showNgClass) {
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) && attr.name != 'getElementById')
attrs.push(' ' + attr.name + '="' + attr.value + '"');
}
}