Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3b14092

Browse files
mernenmhevery
authored andcommitted
docs($parse): document function argument types, fix minor typo
1 parent ef26819 commit 3b14092

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ng/parse.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,10 @@ function getterFn(path, csp) {
848848
* @param {string} expression String expression to compile.
849849
* @returns {function(context, locals)} a function which represents the compiled expression:
850850
*
851-
* * `context`: an object against which any expressions embedded in the strings are evaluated
852-
* against (Topically a scope object).
853-
* * `locals`: local variables context object, useful for overriding values in `context`.
851+
* * `context` – `{object}` – an object against which any expressions embedded in the strings
852+
* are evaluated against (tipically a scope object).
853+
* * `locals` – `{object=}` – local variables context object, useful for overriding values in
854+
* `context`.
854855
*
855856
* The return function also has an `assign` property, if the expression is assignable, which
856857
* allows one to set values to expressions.

0 commit comments

Comments
 (0)