aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
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
2011-01-10fix onhashchange tests for IEIgor Minar
2011-01-07change to keydown from keyup; add delayed $updateViewMisko Hevery
- There was a perceived lag when typing do to the fact that we were listening on the keyup event instead of keydown. The issue with keydown is that we can not read the value of the input field. To solve this we schedule a defer call and perform the model update then. - To prevent calling $eval on root scope too many times as well as to prevent drowning the browser with too many updates we now call the $eval only after 25ms and any additional requests get ignored. The new update service is called $updateView
2011-01-07$location service should utilize onhashchange events instead of pollingIgor Minar
2011-01-07use toMatch in widgetSpecIgor Minar
2011-01-07Revert "Issue #51: Update extensionMap()"Igor Minar
This reverts commit 00ca67e4befffed00ecee81bd1ce903fe01f542a. Now that we don't have published services, we don't need to worryi about this any more and in fact this behavior is confusing because to override a service that has dependencies with a services with no dependencies one must specify $inject:[] or else the old dependencies will be injected. Conflicts: src/Angular.js test/AngularSpec.js
2011-01-06removed dissabled tests which are now outdatedMisko Hevery
2011-01-06converted last of tests to specsMisko Hevery
2011-01-04rename scope.$inject to scope.$serviceIgor Minar
see changelog diff for more info
2011-01-04renaming service property $creation to $eagerIgor Minar
see changelog diff for more info
2011-01-04removing support for 'eager-published' servicesIgor Minar
2011-01-04Remove many eager-publish services, lazy pollingMisko Hevery
- Browser now starts the poller on first call to addPollFn() - Many services ($location, $cookies, $router) are no longer eager-publish. The result is that unless someone needs the $cookies, they will not cause the Browser to start polling for them.
2010-12-23fixing invalid json strings in ResourceSpecIgor Minar
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-11Closes #153: input widgets without name are ignoredMisko Hevery
2010-12-11Fire $eval only if the value has actually changed on inputMisko Hevery
2010-12-10$defer service should always call $eval after callback finishedIgor Minar
Closes #189
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-12-06fixing lint warnings in older codeIgor Minar
2010-12-06add $browser.defer and $defer service and fix async xhr cache issueIgor Minar
- Closes #152 ($resource().query() sometimes calls callback before returning, and it shouldn't) - add $browser.defer method - add $defer service - integrate $browser.defer with outstandingRequests counter in $browser - fix all old tests that relied on buggy behavior
2010-12-03Fix sanitization issues as suggested by evnMisko Hevery
2010-12-02Closes #170. Corrected the behavior of select when options are ng:repeatedMisko Hevery
- Delete $postEval method, as it was a hack
2010-11-29Fixed sanitizationMisko Hevery
* explicitly require full URLs (ftp|https?://...) * list the URI attributes * remove a lot of unneeded attributes
2010-11-22Add angular.Array.limitTo and docs for angular.ArrayIgor Minar
2010-11-18move attribute widgets to widgets.js fileIgor Minar
- move @ng:repeat to widgets.js and its specs to widgetsSpecs.js - move @ng:non-bindable to widgets.js and its specs to widgetsSpecs.js - make widget.template suitable for attribute widgets - fix up the js docs for attribute widgets
2010-11-16Changed error handling so that better stack traces are displayed in the ↵Misko Hevery
ng-errors
2010-11-16add onload attribute to ng:includeIgor Minar
2010-11-11$watch should optionally skip listener execIgor Minar
- if initRun param is set to false, listener doesn't execute - the oldValue should equal newValue during the initial execution - added docs - added specs
2010-11-10Make ng:repeat expose $position.Igor Minar
- $position is a textual representation of the position of repeated item ('first', 'middle', 'last') - added specs for $index
2010-11-10added ng:switch-when-default; changed $watch to always fire on init. (may be ↵Misko Hevery
backward incompatible)
2010-11-09added spec for auto bootstrap with #autobindIgor Minar
2010-11-09Support substring matching of bindings with repeater(). Closes #123Elliott Sprehn
2010-11-09Add key/value jQuery methods in a loop. Support 'css' method.Elliott Sprehn
Closes #134
2010-11-09Updated parser tests to use jasmine expectsVojta Jina
And some formatting as well and a bit of rafactor...
2010-11-09Updated filters tests to use jasmine expectsVojta Jina
And some small formatting...
2010-11-08make angular.String.toDate consider all time fractions as optionalIgor Minar
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-08Add isDate method + fix old codeIgor Minar
2010-11-08fixing spec description for the date filterIgor Minar
2010-11-08date filter should accept ISO 8601 formatted string as inputIgor Minar
Closes #125
2010-11-08TzDate should support various UTC methodsIgor Minar
2010-11-07Update AngularSpec tests to use BDD style - jasmine expectVojta Jina
2010-11-07Added tests for angular.serviceVojta Jina
- should allow to override a service - should preserve angular properties on override - should not preserve non-angular properties on override
2010-11-07Issue #51: Update extensionMap()Vojta Jina
If user override existing extension, angular properties ($) will be preserved. This piece of logic could be refactored into separate method: Something like we have extend(), addMissingProperties() - I can't find a name for this method... Closes #51
2010-11-07Added documentation for validators.Misko Hevery
BACKWARD INCOMPATIBLE: removed ssn validators, since it is unlikely that most people will need it and if they do, they can added it thorough RegExp
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.