aboutsummaryrefslogtreecommitdiffstats
path: root/src/JSON.js
AgeCommit message (Collapse)Author
2011-08-15refactor(json): use angularString instead of angular.StringIgor Minar
2011-08-06style($function): replace $function with 'function'Igor Minar
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-06-08Cleanup parser code to expose smaller APIMisko Hevery
2011-06-08fix JSON to match native browser behaviorMisko Hevery
2011-06-08cleanup old closure directivesMisko Hevery
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-03-09Fix IE: reffering to non existent var on window, must be prefixed by windowMisko 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-10Rename angular.foreach to angular.forEach to make the api consistent.Igor Minar
camelcase is used for other angular functions and forEach is also used by EcmaScript standard. - rename the internal as well as the external function name - tweak the implementation of the function so that it doesn't clober it self when we extend the angular object with an object that has a forEach property equal to this forEach function Closes #85
2010-12-22fromJson delegation to native JSON parser if availableIgor Minar
- native parser delegation - $xhr change to use native parser
2010-11-18add @workInProgress tag and mark all @ngdocs as work in progressIgor Minar
2010-11-18toJson and fromJson jsdocsIgor Minar
2010-11-08Add isDate method + fix old codeIgor Minar
2010-11-05Refactored toJsonArray(), added isBoolean() functionVojta Jina
2010-11-05Updated toJson() to not serialize window/document objects.Vojta Jina
The reason to void these to objects is that they cause all sorts of problems like exceptions being thrown and infinite loops occuring when we iterate over object properties.
2010-11-05Changed toJson() to not ignore $ propertiesVojta Jina
2010-11-03Fix JSON serialization breakage in WebKit browsersElliott Sprehn
2010-11-03Serialize RegExp to string in JSON. Closes #119.Elliott Sprehn
2010-10-18JSON parser is now strict (ie, expressions are not allowed for security)Misko Hevery
Close #57
2010-09-21toJson should serialize inherited properties, but not any properties that ↵Igor Minar
start with $
2010-09-14mergeMisko Hevery
2010-08-18stringify names for better compression, remove dead functions, removed ↵Misko Hevery
underscore.js compatibility
2010-08-16Merge remote branch 'upstream/master'Igor Minar
2010-08-16removing useless catch that causes troubles when FF throws exceptions within ↵iminar
the loop but outside of the try/catch clause
2010-08-14Merge remote branch 'igor/master'Misko Hevery
2010-08-13Serialize only own properties to avoid infinite loops when serializing ↵Igor Minar
scopes (this)
2010-08-11clean up for better obfuscationMisko Hevery
2010-05-07xhr bulk fixesMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-03-31all tests green, some dissabledMisko Hevery
2010-03-26moved all uneeded files out, widgets.html works, tests horribly brokenMisko Hevery
2010-01-23lots of cleanup to get it ready for OSMisko Hevery
2010-01-11all files converted to prototype= {}Misko Hevery
2010-01-11greenMisko Hevery
2010-01-10basic calculator works with minified.js, lots of references still brokenMisko Hevery
2010-01-09removed nglr namespaceMisko Hevery
2010-01-05angular.jsAdam Abrons