diff options
| author | Igor Minar | 2010-11-24 16:55:44 -0800 | 
|---|---|---|
| committer | Igor Minar | 2010-11-24 16:55:44 -0800 | 
| commit | 7c82c4f83756b8b62231b46f864fb1107db0f989 (patch) | |
| tree | b50f430565e7cf88af753c9905261d943d1def41 /src/apis.js | |
| parent | 97b1371199e4c514a23edad4546536616e0f9004 (diff) | |
| download | angular.js-7c82c4f83756b8b62231b46f864fb1107db0f989.tar.bz2 | |
docs for angular.Object and angular.Object.equals
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/src/apis.js b/src/apis.js index 250aec84..65070505 100644 --- a/src/apis.js +++ b/src/apis.js @@ -11,6 +11,26 @@ var angularGlobal = {    }  }; + +/** + * @workInProgress + * @ngdoc overview + * @name angular.Object + * @function + * + * @description + * Utility functions for manipulation with JavaScript objects. + * + * These functions are exposed in two ways: + * + * - **in angular expressions**: the functions are bound to all objects and augment the Object + *   type. The names of these methods are prefixed with `$` character to minimize naming collisions. + *   To call a method, invoke the function without the first argument, e.g, `myObject.$foo(param2)`. + * + * - **in JavaScript code**: the functions don't augment the Object type and must be invoked as + *   functions of `angular.Object` as `angular.Object.foo(myObject, param2)`. + * + */  var angularCollection = {    'copy': copy,    'size': size, | 
