aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2011-11-30feat($browser.xhr): add timeout option to abort requestVojta Jina
Timeouted request responds internal status code -1, which should be normalized into 0 by $xhr.
2011-11-30fix($browser.xhr): fix IE6, IE7 bug - sync xhr when serving from cacheVojta Jina
IE6, IE7 is sync when serving content from cache. We want consistent api, so we have to use setTimeout to make it async.
2011-11-30fix($browser.xhr): respond with internal -2 status on jsonp errorVojta Jina
If jsonp is not successfull, we return internal status -2. This internal status should by normalized by $xhr into 0, but $xhr needs to distinguish between jsonp-error/abort/timeout (all status 0).
2011-11-30fix($browser.xhr): change method "JSON" to "JSONP"Vojta Jina
Breaks "JSON" xhr method is now called "JSONP"
2011-11-30feat($browser): xhr returns raw request objectVojta Jina
2011-11-21feat(service.$autoScroll): scroll to hash fragmentVojta Jina
- whenever hash part of the url changes - after ng:view / ng:include load
2011-11-21fix(scope): $watch (and angular.equals) should support NaN valuesCodier
- since NaN !== NaN in javascript digest can get into an infinite loop when model value is set to NaN - angular.equals(NaN, NaN) should return true since that's what we expect when comparing primitives or objects containing NaN values Previously NaN because of its special === properties was used as the initial value for watches, but that results in issues when NaN is used as model value. In order to allow for model to be anything incuding undefined and NaN we need to mark the initial value differently in a way that would avoid these issues, allow us to run digest without major perf penalties and allow for clients to determine if the listener is being called because the watcher is being initialized or because the model changed. This implementation covers all of these scenarios. BREAKING CHANGE: previously to detect if the listener was called because the watcher was being initialized, it was suggested that clients check if old value is NaN. With this change, the check should be if the newVal equals the oldVal. Closes #657
2011-11-18chore(browser): rename Browser.js -> browser.js, BrowserSpec.js -> ↵TEHEK Firefox
browserSpec.js And move them to proper service subfolder...
2011-11-15fix(input): treat all not number model as blankMisko Hevery
2011-11-15fix(radio): fix binding to value={{exp}}Misko Hevery
2011-11-14refactor(injector): removed loadModule/ng:moduleMisko Hevery
- added module property to doc:example
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14del($eager): removed the support for $eager servicesMisko Hevery
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14feat(bootstrap): added angular.bootstrap methodMisko Hevery
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-11-14fix($location): links without path segment should not change the pathVojta Jina
Closes #648
2011-11-14doc($filter): added $filter documentationMisko Hevery
2011-11-14doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK moduleMisko Hevery
2011-11-14refactor($location): merged $locationConfig service into $locationProviderMisko Hevery
2011-11-14chore(scenario tests): make scenario tests pass againMisko Hevery
2011-11-14new(directive): added ng:module directive for loading modulesMisko Hevery
2011-11-14refactor(angular): isDate / isArray test iframe independent fixMisko Hevery
2011-11-14refactor(mock): moved mocks into its own moduleMisko Hevery
2011-11-14refactor(api): remove type augmentationMisko Hevery
BREAK: - remove angular.[Object/Array/String/Function] - in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14refacter(filters): convert filter/limitTo/orderBy from type augmentation to ↵Misko Hevery
filters
2011-11-14refactor(json): break dependence on api.jsMisko Hevery
2011-11-14refactor(filter): filters are now injectable and servicesMisko Hevery
BREAK: - removed CSS support from filters
2011-11-14move(filters): appease the History GodMisko Hevery
2011-11-14refactor(parser): turn parser into a service (keep compatibility hack)Misko Hevery
2011-11-14move(parser): appease the History GodMisko Hevery
2011-11-14refactor($service): removed almost all references to scope.$serviceMisko Hevery
- still need to remove from factory
2011-11-14refactor(services): migrate angular.service -> moduleMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14new(injector): new injector v2.0Misko Hevery
- not connected to keep the CL small
2011-11-14refactor(api): cleaned up the externalization of angular API methodsMisko Hevery
2011-11-14feat(injector): support $inject(fn($service){}) function invocationMisko Hevery
2011-11-14feat(injector): support ['$service', function($service){}] annotations for ↵Misko Hevery
function invocation.
2011-11-14refactor(compiler) turn compiler into a serviceMisko Hevery
BREAK - remove angular.compile() since the compile method is now a service and needs to be injected
2011-11-14move(compiler): appease the History GodMisko Hevery
- renamed: src/Compiler.js -> src/service/compiler.js - renamed: test/CompilerSpec.js -> test/service/compilerSpec.js
2011-11-14feat(injector): Service look up failures include dependency pathMisko Hevery
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-11-14move(scope): appease the History GodMisko Hevery
- renamed: src/Scope.js -> src/service/scope.js - renamed: test/ScopeSpec.js -> test/service/scopeSpec.js
2011-11-09chore(test): remove stale bit-rotten codeMisko Hevery
- deleted: test/manual.html
2011-11-08fix(directives): make directive names case-insensitiveIgor Minar
+ tests + added docs for angular.directive
2011-11-08feat(ng:style): compatibility + perf improvementsDhruv Manek
- better compatibility with 3rd party code - we clober 3rd party style only if it direcrtly collides with 3rd party styles - better perf since it doesn't execute stuff on every digest - lots of tests
2011-10-31feat(matchers): extract jasmine matchers into separate file for future reuseVojta Jina
Prefix all used functions with angular.* so that they can be used with compiled angular as well...
2011-10-31test(scope): infinite digest test should pass on all browsersIgor Minar
Different browsers print function body differently, and best of all IE doesn't have function.name property.
2011-10-31feat(scope): better logging of infinite digest errorIgor Minar
Feedback team has often problems debugging inifinite digest errors, this change should reveal info about what watchers are causing the infinite loop
2011-10-31style(widgets): fix typo in a spec commentIgor Minar