Extend Angular jqLite static interface

This commit is contained in:
Andre Wiggins
2017-06-27 16:01:43 -07:00
parent 40142ae748
commit d9d3759064
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -627,11 +627,13 @@ function test_angular_forEach() {
}
// angular.element() tests
let element = angular.element('div.myApp');
let element = angular.element('<div></div>');
let scope: ng.IScope = element.scope();
let isolateScope: ng.IScope = element.isolateScope();
isolateScope = element.find('div.foo').isolateScope();
isolateScope = element.find('div').isolateScope();
isolateScope = element.children().isolateScope();
let element2 = angular.element(element);
let elementArray = angular.element(document.querySelectorAll('div'));
// $timeout signature tests
namespace TestTimeout {