mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
chore(angular): clean up unused constants
This commit is contained in:
@@ -68,24 +68,14 @@ function shivForIE(elementName) {
|
||||
return elementName;
|
||||
}
|
||||
|
||||
var _undefined = undefined,
|
||||
_null = null,
|
||||
$$scope = '$scope',
|
||||
$angular = 'angular',
|
||||
$array = 'array',
|
||||
var $$scope = '$scope',
|
||||
$boolean = 'boolean',
|
||||
$console = 'console',
|
||||
$date = 'date',
|
||||
$length = 'length',
|
||||
$name = 'name',
|
||||
$noop = 'noop',
|
||||
$null = 'null',
|
||||
$object = 'object',
|
||||
$string = 'string',
|
||||
$value = 'value',
|
||||
$selected = 'selected',
|
||||
$undefined = 'undefined',
|
||||
NOOP = 'noop',
|
||||
Error = window.Error,
|
||||
/** holds major version number for IE or NaN for real browsers */
|
||||
msie = parseInt((/msie (\d+)/.exec(lowercase(navigator.userAgent)) || [])[1], 10),
|
||||
|
||||
Reference in New Issue
Block a user