aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
AgeCommit message (Collapse)Author
2011-08-19refactor(jqLite): remove jqLite show/hide supportIgor Minar
it turns out that even with our tricks, jqLite#show is not usable in practice and definitely not on par with jQuery. so rather than introducing half-baked apis which introduce issues, I'm removing them. I also removed show/hide uses from docs, since they are not needed. Breaks jqLite.hide/jqLite.show which are no longer available.
2011-08-18doc(typos): fix couple of typos in the docsdandoyon
Minor documentation fixes. Should not be any code changes. One test changed due to dependency on text in documentation.
2011-07-27style(): fix couple of missing semi-colonsVojta Jina
2011-07-26fix(ng:show/ng:hide): use jqLite.show/jqLite.hideDi Peng
The previous implementation didn't handle situation when in css something was hidden with a cascaded display:none rule and then we wanted to show it. Unfortunatelly our test doesn't test this scenario because it's too complicated. :-/
2011-07-22feat(angular.version): add angular.versionDi Peng
- placeholders are replaced with actual angular versions when doing rake compile
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-07-13fix(bootstrap): Fix bootstrap on IE<8Vojta Jina
No reason for including ie-compat in bootstrap, it's included during angularInit. Fix including ie-compat even for production.
2011-06-08Added ng:options directiveMisko Hevery
Closes #301
2011-06-08Added nextUid() function for unified way of generating IDs in angularMisko Hevery
2011-06-08Proper handling of special attributes in jqliteMisko Hevery
2011-06-08code cleanup: missing ; and indentationMisko Hevery
2011-06-08Remove stray console.log statementeMisko Hevery
2011-06-06another batch of doc fixes from kenIgor Minar
2011-06-02Fix formatError for FF4 and OperaVojta Jina
Other browsers prepend "Error: <Exception name>" to stack, but FF4 and Opera do not. So when formatting error we prepend it by hand, when not present...
2011-04-16Added a bit more documentation to ng:autobind to explain some of the semanticsCraig Tataryn
2011-04-11doc fix - ng:autobind, ng:controller and moreKenneth R. Culp
2011-04-07use special nodeName_ impl only for IE<9Igor Minar
apparently IE9 is one step closer to becoming a real browser by treating xmlns-like ("foo:") prefixes in node names as part of the node name. fixes: https://groups.google.com/forum/?lnk=srg#!topic/angular/TGdrV4GsL8U
2011-04-07improve docs for angular.Object.copyIgor Minar
2011-03-31fix infinite loop in elementError when working with detached elementsIgor Minar
2011-03-31encode query params correctly but not too agressivelyIgor Minar
2011-03-30correct size() impl for object's w/ 'length' propIgor Minar
the original implementation returned incorrect value value for objects with 'length' property.
2011-03-30extend size() to take ownPropsOnly paramIgor Minar
- extend size() to take size(obj, ownPropsOnly) - add specs for size() - update docs to mention string support - use size() in ng:repeat including the hasOwnProp check for all object doesn't create significant perf penalty: http://jsperf.com/dedicated-code-branch-for-hasownprop
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-03-11ng:autobind now optionally takes element idIgor Minar
so it is possible to easily compile just a part of a document. e.g.: <html> <head> <title>partially compiled doc</title> <script src="angular.js" ng:autobind="compileThis"></script> </head> <body> this part won't be compiled: {{1+2}} <div id="compileThis" ng:init="i=0" ng:click="i = i+1"> Click count: {{i}} </div> </body> </html>
2011-03-11angularJsConfig now allows ng:autobind and #autobind value to be passed inIgor Minar
2011-03-08fix ie7 regression in jqLite which preventedMisko Hevery
2011-03-03fixing left over .scopeIgor Minar
2011-03-03fixing broken e2e testsIgor Minar
2011-03-01linking function should return bound scopeIgor Minar
angular.compile()() returns {scope:scope, view:view}, this isn't useful at all and only makes tests more verbose. Instead, this change makes the linking function return scope directly and if anyone needs the linked dom there are two ways to do it documented in angular.compile. other changes: - moved angular.compile docs to the compiler so that they are closer to the compiler - fixed some typos and updated angular.compile docs with the new return value
2011-02-18Auto create $inject property form the argument names. Any arg starting with ↵Misko Hevery
$ or _ will be injected
2011-02-17resources should not over-encode chars in url pathIgor Minar
- added encodeUriSegment that properly encodes only those chars that URI RFC requires us to encode - modified Resource to use encodeUriSegment
2011-02-16Changed the angular.compile(element)(scope[, cloneAttachNode])Misko Hevery
2011-02-16reformated multiline trinary expressions to have a leading ?/:.Misko Hevery
2011-02-16rewrite of JQuery lite implementation, which now better supports selected setsMisko Hevery
2011-02-16Change API angular.compile(element)([scope], [element/true])Misko Hevery
2011-02-16refactored quickClone to cloneNode and exposed it on jQueryMisko Hevery
2011-02-16remove $init on scope from applying compilation templateMisko Hevery
Closes #40
2011-02-16remove dom manipulation API from compilerMisko Hevery
2011-02-16Add public API to retrieve scope from element.Misko Hevery
2011-02-16allow jquery to be declared after angular in the script loading orderMisko Hevery
2011-02-16Small spelling and grammar fixes in documentation.Anthony Lieuallen
2011-02-07adding docs for angular.markup and angular.attrMarkupIgor Minar
2011-02-04smarter normalization of value on option, and htmlParser fixesMisko Hevery
2011-02-01changed the documentation @example to use <doc:example>Misko Hevery
2011-01-26adding jsdoc for angular namespaceIgor Minar
2011-01-24remove trailing whitespaceMisko Hevery
2011-01-18fixes, examples and tests for angular.Object.* docsIgor Minar
2011-01-13fix for angular.Object.equals to handle equals({},null)Igor Minar