mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
clean up for better obfuscation
This commit is contained in:
@@ -44,9 +44,10 @@ function setter(instance, path, value){
|
||||
}
|
||||
|
||||
///////////////////////////////////
|
||||
|
||||
var getterFnCache = {};
|
||||
var JS_KEYWORDS = {};
|
||||
var scopeId = 0;
|
||||
getterFnCache = {},
|
||||
compileCache = {},
|
||||
JS_KEYWORDS = {};
|
||||
foreach(
|
||||
["abstract", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default",
|
||||
"delete", "do", "double", "else", "enum", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto",
|
||||
@@ -88,7 +89,6 @@ function getterFn(path){
|
||||
|
||||
///////////////////////////////////
|
||||
|
||||
var compileCache = {};
|
||||
function expressionCompile(exp){
|
||||
if (typeof exp === 'function') return exp;
|
||||
var fn = compileCache[exp];
|
||||
@@ -108,7 +108,6 @@ function errorHandlerFor(element, error) {
|
||||
elementError(element, NG_EXCEPTION, isDefined(error) ? toJson(error) : error);
|
||||
}
|
||||
|
||||
var scopeId = 0;
|
||||
function createScope(parent, services, existing) {
|
||||
function Parent(){}
|
||||
function API(){}
|
||||
|
||||
Reference in New Issue
Block a user