From 3b14092135ab02a4b08c0ba21d40726684acf83e Mon Sep 17 00:00:00 2001 From: Daniel Luz Date: Sun, 4 Nov 2012 20:36:35 -0200 Subject: docs($parse): document function argument types, fix minor typo --- src/ng/parse.js | 7 ++++--- 1 file 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. -- cgit v1.2.3