diff options
| author | Di Peng | 2011-07-11 17:31:29 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-07-22 15:34:55 -0700 |
| commit | 0782422d1f319593ffe3f0d7b2372ba995ad362c (patch) | |
| tree | 7da0e0cb89b8c3f41a260fa3a986daae807650b1 /src/AngularPublic.js | |
| parent | 8fa066190af2b2267a5e8111a41beb6e8af5c340 (diff) | |
| download | angular.js-0782422d1f319593ffe3f0d7b2372ba995ad362c.tar.bz2 | |
feat(angular.version): add angular.version
- placeholders are replaced with actual angular versions when doing
rake compile
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js index ebd54621..bd86a9be 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -19,6 +19,7 @@ angularService('$browser', function($log){ return browserSingleton; }, {$inject:['$log']}); + extend(angular, { // disabled for now until we agree on public name //'annotate': annotate, @@ -41,7 +42,8 @@ extend(angular, { 'isFunction': isFunction, 'isObject': isObject, 'isNumber': isNumber, - 'isArray': isArray + 'isArray': isArray, + 'version': version }); //try to bind to jquery now so that one can write angular.element().read() |
