diff options
| author | Misko Hevery | 2011-11-01 14:27:22 -0700 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 16:39:32 -0800 |
| commit | 4c10d33eb4340d6df30e298d63f4d37c25aab65f (patch) | |
| tree | f95967cb8fcba70ad1c6a55d0e2919f8468270e2 /src/AngularPublic.js | |
| parent | 9062996a0e6b449467f5b8ec06824086ca87f9cf (diff) | |
| download | angular.js-4c10d33eb4340d6df30e298d63f4d37c25aab65f.tar.bz2 | |
refactor(api): cleaned up the externalization of angular API methods
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js index 3ed0eab7..600f1ef8 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -11,31 +11,7 @@ angularService('$browser', function($log, $sniffer) { }, {$inject: ['$log', '$sniffer']}); -extend(angular, { - // disabled for now until we agree on public name - //'annotate': annotate, - 'copy': copy, - 'extend': extend, - 'equals': equals, - 'forEach': forEach, - 'injector': createInjector, - 'noop':noop, - 'bind':bind, - 'toJson': toJson, - 'fromJson': fromJson, - 'identity':identity, - 'isUndefined': isUndefined, - 'isDefined': isDefined, - 'isString': isString, - 'isFunction': isFunction, - 'isObject': isObject, - 'isNumber': isNumber, - 'isArray': isArray, - 'version': version, - 'isDate': isDate, - 'lowercase': lowercase, - 'uppercase': uppercase -}); +publishExternalAPI(angular); //try to bind to jquery now so that one can write angular.element().read() //but we will rebind on bootstrap again. |
