aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDi Peng2011-08-24 07:58:07 -0700
committerDi Peng2011-08-24 08:00:33 -0700
commitdbf8afcba0cfc0e341e3ebd2dadeba627c083f0a (patch)
treea987c58cd29554dd6551999711118920e29a83f8
parent446f6b233fa8bd5bbdf2d6d9c980e3e23df52cd9 (diff)
downloadangular.js-dbf8afcba0cfc0e341e3ebd2dadeba627c083f0a.tar.bz2
fix(AngularPublic): expose missing angular public methods
- expose lowercase, uppercase and isDate to angular public api - remove unnecessary extention of jqLite at an early stage
-rw-r--r--src/AngularPublic.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index 77b43250..476de3e3 100644
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -15,7 +15,6 @@ angularService('$browser', function($log){
extend(angular, {
// disabled for now until we agree on public name
//'annotate': annotate,
- 'element': jqLite,
'compile': compile,
'scope': createScope,
'copy': copy,
@@ -35,7 +34,10 @@ extend(angular, {
'isObject': isObject,
'isNumber': isNumber,
'isArray': isArray,
- 'version': version
+ 'version': version,
+ 'isDate': isDate,
+ 'lowercase': lowercase,
+ 'uppercase': uppercase
});
//try to bind to jquery now so that one can write angular.element().read()