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;
|
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();
|
scope.$digest();
|
||||||
|
|
||||||
//run code to test
|
//run code to test
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
// console.log(FormFields.types);
|
// console.log(FormFields.types);
|
||||||
scope.myfields = 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();
|
scope.$digest();
|
||||||
|
|
||||||
//run code to test
|
//run code to test
|
||||||
|
|
Loading…
Reference in a new issue