We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f05621 commit b5195b8Copy full SHA for b5195b8
src/Scope.js
@@ -72,8 +72,8 @@ function getterFn(path){
72
}
73
});
74
code += ' return self;\n}';
75
- fn = eval('(' + code + ')');
76
- fn.toString = function(){ return code; };
+ fn = eval('fn = ' + code);
+ fn["toString"] = function(){ return code; };
77
78
return getterFnCache[path] = fn;
79
test/testabilityPatch.js
@@ -81,7 +81,7 @@ function sortedHtml(element) {
81
attr.name !='style' &&
82
attr.name.substr(0, 6) != 'jQuery') {
83
// in IE we need to check for all of these.
84
- if (!/ng:\d+/.exec(attr.name))
+ if (!/ng-\d+/.exec(attr.name))
85
attrs.push(' ' + attr.name + '="' + attr.value + '"');
86
87
0 commit comments