angular-es-utils
Advanced tools
Comparing version 1.2.19 to 1.2.20
@@ -19,3 +19,3 @@ 'use strict'; | ||
/** | ||
* 获取应用的injector,默认查询被ng-app标记的节点,否则从document.body开始找 | ||
* 获取应用的injector,默认查询被ng-app标记的节点,否则从document.documentElement开始找 | ||
* @param rootElement | ||
@@ -30,3 +30,3 @@ */ | ||
function getInjector() { | ||
var rootElement = arguments.length <= 0 || arguments[0] === undefined ? document.querySelector('[ng-app]') || document.body : arguments[0]; | ||
var rootElement = arguments.length <= 0 || arguments[0] === undefined ? document.querySelector('[ng-app]') || document.documentElement : arguments[0]; | ||
@@ -33,0 +33,0 @@ |
{ | ||
"name": "angular-es-utils", | ||
"version": "1.2.19", | ||
"version": "1.2.20", | ||
"description": "es utils design for angular1.x", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20816