mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-07 08:57:54 +08:00
test(jqLite): adapt missed test to new expando name
This commit is contained in:
@@ -330,9 +330,8 @@ describe('$compile', function() {
|
||||
elementName = parts.shift();
|
||||
parts.sort();
|
||||
parts.unshift(elementName);
|
||||
forEach(parts, function(value, key){
|
||||
if (value.substring(0,3) == 'ng-') {
|
||||
} else {
|
||||
forEach(parts, function(value){
|
||||
if (value.substring(0,2) !== 'ng') {
|
||||
value = value.replace('=""', '');
|
||||
var match = value.match(/=(.*)/);
|
||||
if (match && match[1].charAt(0) != '"') {
|
||||
|
||||
Reference in New Issue
Block a user