We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8fae8 commit c97c5ceCopy full SHA for c97c5ce
test/ng/compileSpec.js
@@ -330,8 +330,8 @@ describe('$compile', function() {
330
elementName = parts.shift();
331
parts.sort();
332
parts.unshift(elementName);
333
- forEach(parts, function(value, key){
334
- if (value.substring(0,3) !== 'ng-') {
+ forEach(parts, function(value){
+ if (value.substring(0,2) !== 'ng') {
335
value = value.replace('=""', '');
336
var match = value.match(/=(.*)/);
337
if (match && match[1].charAt(0) != '"') {
0 commit comments