Igor Minar
fe5240732d
feat(strict mode): adding strict mode flag to all js files
...
the flag must be in all src and test files so that we get the benefit of
running in the strict mode even in jstd
the following script was used to modify all files:
for file in `find src test -name "*.js"`; do
echo -e "'use strict';\n" > temp.txt
cat $file >> temp.txt
mv temp.txt $file
done
2011-07-18 12:12:55 -07:00
Misko Hevery
91a34a7027
remove ng:format=index
2011-06-08 15:21:33 -07:00
Misko Hevery
0e17ade959
Cleanup parser code to expose smaller API
2011-06-08 15:01:32 -07:00
Misko Hevery
c2f2587a79
fixed example rendering, add tests for it.
2011-01-24 14:23:51 -08:00
Misko Hevery
347be5ae9a
fixed select with ng:format
...
select (one/multiple) could not chose from a list of objects, since DOM requires string ids.
Solved by adding index formatter, which exposed incorrect handling of formatters in select
widgets.
2011-01-14 10:30:00 -08:00
Igor Minar
d11088eb43
Revert "Refactor lexer to use regular expressions"
...
We came across a major performance regression due to this change.
I'm reverting it until we find a better solution.
This reverts commit 23fc73081f .
2010-12-22 14:16:36 -08:00
Misko Hevery
23fc73081f
Refactor lexer to use regular expressions
2010-12-08 14:39:22 -08:00
Misko Hevery
e5e69d9b90
Remove RegExp parser
...
- RegExp parser is rearly used, feature, and one should not have RegExps
in views anyways, so we are removing it
BACKWARD INCOMPATIBLE CHANGE!!!
2010-12-08 14:36:51 -08:00
Misko Hevery
fa722447f8
Fixed failed assignments of form abj[0].name=value
...
Closes #169
2010-12-08 14:20:26 -08:00
Misko Hevery
b2d63ac48b
Changed error handling so that better stack traces are displayed in the ng-errors
2010-11-16 14:19:55 -08:00
Vojta Jina
5062d32621
Updated parser tests to use jasmine expects
...
And some formatting as well and a bit of rafactor...
2010-11-09 07:38:03 -08:00
Misko Hevery
9e9bdbdc40
JSON parser is now strict (ie, expressions are not allowed for security)
...
Close #57
2010-10-18 08:50:36 -07:00
Misko Hevery
ff52f47537
Fix unicode parsing Close #56
2010-10-15 14:06:30 -07:00
Misko Hevery
a36964799b
fixed lint warnings and one flaky test
2010-10-15 13:44:53 -07:00