aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.js
AgeCommit message (Collapse)Author
2011-11-14move(parser): appease the History GodMisko Hevery
2011-11-14cleanup(parser): removed unused methodMisko Hevery
2011-11-11cleanup(parser): remove unused methodMisko Hevery
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-10-07fix(parser): Fix short circuit of logical AND and OR operatorsDhruv Manek
Closes #433
2011-08-15style(*): wrap all assignments in if statementsIgor Minar
we commonly assign stuff in if statments like this: if (variable = someFn()) { //do something with variable } This results in lint and IDE warnings (did you mean ==?). It is better to be explicit about our intention and wrap the assignement into parens: if ((variable = someFn())) { //do something with variable } Doing so suppresses warnings + is easier to understand the intention. I verified that the closure compiler strips the extra parens, so there is no byte overhead for this safety practice. We should use this style going forward...
2011-08-06style($function): replace $function with 'function'Igor Minar
2011-08-02refactor(angular): remove unnecessary parameter for slice functionDiPeng
- the end index for slice, if not specified, is default to the end of the array it operates on.
2011-08-02feat(scope): new and improved scope implementationMisko Hevery
- Speed improvements (about 4x on flush phase) - Memory improvements (uses no function closures) - Break $eval into $apply, $dispatch, $flush - Introduced $watch and $observe Breaks angular.equals() use === instead of == Breaks angular.scope() does not take parent as first argument Breaks scope.$watch() takes scope as first argument Breaks scope.$set(), scope.$get are removed Breaks scope.$config is removed Breaks $route.onChange callback has not "this" bounded
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
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-18fix(strict mode): fix all issues discovered by strict mode and unit/e2e testsIgor Minar
2011-06-08Added ng:options directiveMisko Hevery
Closes #301
2011-06-08Cleanup parser code to expose smaller APIMisko Hevery
2011-06-08performance improvement of single statement in parserMisko Hevery
2011-03-28fixing lint warningsIgor Minar
2011-03-26remove _null and _undefinedIgor Minar
they have no significant effect on minified and gziped size. in fact they make things worse. file | before | after removal ---------------------------------------- concat | 325415 | 325297 min | 62070 | 62161 min + gzip | 25187 | 25176 The bottom line is that we are getting 0.05% decrease in size after gzip without all of the hassle of using underscores everywhere.
2011-02-16reformated multiline trinary expressions to have a leading ?/:.Misko Hevery
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2011-01-14fixed select with ng:formatMisko Hevery
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-04Added an extra security check to make sure that the parser can not execute ↵Misko Hevery
anything while evaluting JSON.
2010-12-22fromJson delegation to native JSON parser if availableIgor Minar
- native parser delegation - $xhr change to use native parser
2010-12-22Revert "Refactor lexer to use regular expressions"Igor Minar
We came across a major performance regression due to this change. I'm reverting it until we find a better solution. This reverts commit 23fc73081feb640164615930b36ef185c23a3526.
2010-12-11Stricter JSON parsing, for securityMisko Hevery
2010-12-08Refactor lexer to use regular expressionsMisko Hevery
2010-12-08Remove RegExp parserMisko Hevery
- 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-08Fixed failed assignments of form abj[0].name=valueMisko Hevery
Closes #169
2010-11-16Changed error handling so that better stack traces are displayed in the ↵Misko Hevery
ng-errors
2010-11-15added remaining directives and search box.Misko Hevery
2010-11-08Support ISO 8601 extended datetime format troughout angular.Igor Minar
Support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined in EcmaScript 5 throughout angular. This means that the following apis switched from YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates: - angular.Date.toString - angular.String.toDate - JSON serialization and deserialization (used by json filter, $xhr and $resource)
2010-11-05fix error in json parser which did not allow 1.2E10 as numberMisko Hevery
2010-10-27rename src/Parser.js to src/parser.jsIgor Minar