mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
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:
parent
446f6b233f
commit
dbf8afcba0
1 changed files with 4 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue