Removed unused variables in on-finish-render.client.directive.test.js
This commit is contained in:
parent
a2ca435a8d
commit
ddb7e68836
|
@ -21,7 +21,7 @@
|
|||
|
||||
scope.myfields = FormFields.types;
|
||||
|
||||
var e = $compile('<div><div ng-repeat="item in myfields" on-finish-render="editFormFields">{{item.name}}</div></div>')(scope);
|
||||
$compile('<div><div ng-repeat="item in myfields" on-finish-render="editFormFields">{{item.name}}</div></div>')(scope);
|
||||
scope.$digest();
|
||||
|
||||
//run code to test
|
||||
|
@ -34,7 +34,7 @@
|
|||
// console.log(FormFields.types);
|
||||
scope.myfields = FormFields.types;
|
||||
|
||||
var e = $compile('<div><div ng-repeat="item in myfields" on-finish-render>{{item.name}}</div></div>')(scope);
|
||||
$compile('<div><div ng-repeat="item in myfields" on-finish-render>{{item.name}}</div></div>')(scope);
|
||||
scope.$digest();
|
||||
|
||||
//run code to test
|
||||
|
@ -43,4 +43,4 @@
|
|||
}));
|
||||
|
||||
});
|
||||
}());
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue