Skip to content

Commit c97c5ce

Browse files
committed
test(jqLite): adapt missed test to new expando name
1 parent ee8fae8 commit c97c5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ng/compileSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ describe('$compile', function() {
330330
elementName = parts.shift();
331331
parts.sort();
332332
parts.unshift(elementName);
333-
forEach(parts, function(value, key){
334-
if (value.substring(0,3) !== 'ng-') {
333+
forEach(parts, function(value){
334+
if (value.substring(0,2) !== 'ng') {
335335
value = value.replace('=""', '');
336336
var match = value.match(/=(.*)/);
337337
if (match && match[1].charAt(0) != '"') {

0 commit comments

Comments
 (0)