aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.js
diff options
context:
space:
mode:
authorMisko Hevery2011-04-19 16:34:49 -0700
committerMisko Hevery2011-06-08 15:21:33 -0700
commitaf285dd370aa1b6779bf67ac3bdc19da512aaac5 (patch)
tree663140aa80b8ec312bdc0390f552d8c8f86a8dda /src/parser.js
parent89e001b18a4f6d18caea1e9a3d015639feb4f1ee (diff)
downloadangular.js-af285dd370aa1b6779bf67ac3bdc19da512aaac5.tar.bz2
Added ng:options directive
Closes #301
Diffstat (limited to 'src/parser.js')
-rw-r--r--src/parser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.js b/src/parser.js
index 59d7899a..0c4a391a 100644
--- a/src/parser.js
+++ b/src/parser.js
@@ -239,6 +239,8 @@ function parser(text, json){
pipeFunction =
function (){ throwError("is not valid json", {text:text, index:0}); };
}
+ //TODO: Shouldn't all of the public methods have assertAllConsumed?
+ //TODO: I think these should be public as part of the parser api instead of scope.$eval().
return {
assignable: assertConsumed(assignable),
primary: assertConsumed(primary),
@@ -659,4 +661,3 @@ function parser(text, json){
-