From b92d16c08e8d9229939f9ef91168e383573e95bb Mon Sep 17 00:00:00 2001 From: vsavkin Date: Tue, 17 Mar 2015 14:37:33 -0700 Subject: [PATCH] cleanup(change_detection): removed an unused method --- .../change_detection_jit_generator.es6 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/angular2/src/change_detection/change_detection_jit_generator.es6 b/modules/angular2/src/change_detection/change_detection_jit_generator.es6 index 5866777a24..66404fc72f 100644 --- a/modules/angular2/src/change_detection/change_detection_jit_generator.es6 +++ b/modules/angular2/src/change_detection/change_detection_jit_generator.es6 @@ -216,17 +216,6 @@ function assignmentTemplate(field:string, value:string) { return `${field} = ${value};`; } -function invokeMethodTemplate(name:string, args:string, context:string, newValue:string) { - return ` -${TEMP_LOCAL} = ${UTIL}.findContext("${name}", ${context}); -if (${TEMP_LOCAL} instanceof ContextWithVariableBindings) { - ${newValue} = ${TEMP_LOCAL}.get('${name}').apply(null, [${args}]); -} else { - ${newValue} = ${context}.${name}(${args}); -} -`; -} - function localDefinitionsTemplate(names:List):string { return names.map((n) => `var ${n};`).join("\n"); }