diff options
| author | Daniel Luz | 2012-11-04 20:36:35 -0200 |
|---|---|---|
| committer | Misko Hevery | 2013-02-14 14:43:32 -0800 |
| commit | 6cf9ede88e7634ae141acc7a37cfbe9460d22e1d (patch) | |
| tree | 336ca64a17184558de831989ff77137373c232bf /src/ng/parse.js | |
| parent | 6092291bd74b91a1efa7f8ae66cff01418ec0359 (diff) | |
| download | angular.js-6cf9ede88e7634ae141acc7a37cfbe9460d22e1d.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 97aba113..836e8916 100644 --- a/src/ng/parse.js +++ b/src/ng/parse.js @@ -840,9 +840,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. |
