Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit dbf8afc

Browse files
author
Di Peng
committed
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
1 parent 446f6b2 commit dbf8afc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/AngularPublic.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ angularService('$browser', function($log){
1515
extend(angular, {
1616
// disabled for now until we agree on public name
1717
//'annotate': annotate,
18-
'element': jqLite,
1918
'compile': compile,
2019
'scope': createScope,
2120
'copy': copy,
@@ -35,7 +34,10 @@ extend(angular, {
3534
'isObject': isObject,
3635
'isNumber': isNumber,
3736
'isArray': isArray,
38-
'version': version
37+
'version': version,
38+
'isDate': isDate,
39+
'lowercase': lowercase,
40+
'uppercase': uppercase
3941
});
4042

4143
//try to bind to jquery now so that one can write angular.element().read()

0 commit comments

Comments
 (0)