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
This commit is contained in:
Di Peng
2011-08-24 07:58:07 -07:00
parent 446f6b233f
commit dbf8afcba0

View File

@@ -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()