diff options
| author | Daniel Luz | 2012-11-04 20:36:35 -0200 | 
|---|---|---|
| committer | Misko Hevery | 2013-02-14 14:43:56 -0800 | 
| commit | 3b14092135ab02a4b08c0ba21d40726684acf83e (patch) | |
| tree | c0155f251e928fb1364ff3ad059640395eb3e820 /src/ng/parse.js | |
| parent | ef268196b9eb322c0e449e454be9d001c371e37e (diff) | |
| download | angular.js-3b14092135ab02a4b08c0ba21d40726684acf83e.tar.bz2 | |
docs($parse): document function argument types, fix minor typo
Diffstat (limited to 'src/ng/parse.js')
| -rw-r--r-- | src/ng/parse.js | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/ng/parse.js b/src/ng/parse.js index 5a70979a..60181f96 100644 --- a/src/ng/parse.js +++ b/src/ng/parse.js @@ -848,9 +848,10 @@ function getterFn(path, csp) {   * @param {string} expression String expression to compile.   * @returns {function(context, locals)} a function which represents the compiled expression:   * - *    * `context`: an object against which any expressions embedded in the strings are evaluated - *      against (Topically a scope object). - *    * `locals`: local variables context object, useful for overriding values in `context`. + *    * `context` – `{object}` – an object against which any expressions embedded in the strings + *      are evaluated against (tipically a scope object). + *    * `locals` – `{object=}` – local variables context object, useful for overriding values in + *      `context`.   *   *    The return function also has an `assign` property, if the expression is assignable, which   *    allows one to set values to expressions. | 
