From 3d99e0f6dee6569ca9471d419bda79aec95b9ebc Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 28 Jan 2010 20:44:34 -0800 Subject: work --- src/Angular.js | 1 + src/Formaters.js | 6 ++++++ src/Scope.js | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/Formaters.js (limited to 'src') diff --git a/src/Angular.js b/src/Angular.js index bfbe8ee9..b208d0ec 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -26,6 +26,7 @@ var consoleNode, jQuery, msie, angular = window['angular'] || (window['angular'] = {}), angularValidator = angular['validator'] || (angular['validator'] = {}), angularFilter = angular['filter'] || (angular['filter'] = {}), + angularFormater = angular['formater'] || (angular['formater'] = {}), angularCallbacks = angular['callbacks'] || (angular['callbacks'] = {}), angularAlert = angular['alert'] || (angular['alert'] = function(){ log(arguments); window.alert.apply(window, arguments); diff --git a/src/Formaters.js b/src/Formaters.js new file mode 100644 index 00000000..e623d6b8 --- /dev/null +++ b/src/Formaters.js @@ -0,0 +1,6 @@ + +extend(angularFormater, { + 'noop':function(){ + + } +}); diff --git a/src/Scope.js b/src/Scope.js index 7e477ec5..b8fadfa0 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -95,7 +95,7 @@ Scope.prototype = { }, eval: function(expressionText, context) { - log('Scope.eval', expressionText); +// log('Scope.eval', expressionText); var expression = Scope.expressionCache[expressionText]; if (!expression) { var parser = new Parser(expressionText); -- cgit v1.2.3