| Age | Commit message (Collapse) | Author |
|
- feedback relies on *Controller.init to be called when a Controller is
being created. this with previous angular refactoring this is not happening
in angular any more. To make it easier for feedback to transition, this
change makes $become call controller's init method if present.
- call to Controller.init from $route.updateRoute was removed. this was
left there by accident during the previous refactoring.
|
|
* Fixed wrong reference to jquery library, and old method names (scope.$set, scope.$eval), added scope.$init() call...
* Changed to use angular-debug.js
* use simple assignments
|
|
with dots
|
|
|
|
|
|
now expects
|
|
- removing the last anchor spec because it can't run reliably in all browsers
- improving jqLite.trigger() method
|
|
|
|
|
|
|
|
mocks must use angular.foo because the final build will hide all
the normally accessible functions within an anonymous closure.
|
|
* added a widget for A (anchor) tag, that modifies the default behavior
and prevent default action (location change and page reload) for tags
with empty href attribute
* stopped event propagation for all ng:click handlers
|
|
|
|
* #foo?key=var&flag&emptyKey= should parse into
{key:'val', flag: true, emptyKey: ''}
* added docs and spec for parseKeyValue function
|
|
document.cookie.
Now we finally correctly handle situations when browser refuses to set a cookie, due to
storage quota or other (file:// protocol) limitations.
|
|
- previously the poller initialized the cookie cache too late which
was causing previously existing cookies to be deleted by cookie service
- refactored the poller api so that the addPollFn returns the added fn
- fixed older cookie service tests
- removed "this.$onEval(PRIORITY_LAST, update);" because it is not needed
|
|
http://github.com/angular/angular.js/issues#issue/23
|
|
|
|
|
|
string starts with 0
|
|
|
|
|
|
- remove obsolete code in tests
- add warning logs when maximum cookie limits (as specified via RFC 2965) were reached
- non-string values will now get dropped
- after each update $cookies hash will reflect the actual state of browser cookies
this means that if browser drops some cookies due to cookie overflow, $cookies will reflect that
- $sessionStore got renamed to $cookieStore to avoid name conflicts with html5's sessionStore
|
|
method that is not used anywhere
|
|
|
|
- change from using prototype to inner functions to help with better compression
- removed watchers (url/cookie) and introduced a poller concept
- moved the checking of URL and cookie into services which register with poolers
Benefits:
- Smaller minified file
- can call $browser.poll() from tests to simulate polling
- single place where setTimeout needs to be tested
- More testable $browser
|
|
When a method foo is called on a Resource object, say myResource there are two copies that happen to the resource:
- one inside Resource.foo() in some dummy function
- another inside myResource.$foo() inside the callback passed to foo()
|
|
data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
|
|
start with $
|
|
url to the current page.
|
|
|
|
|
|
|
|
"partials". The pattern is demostrated in the unittest:
Resource.query returns a list of "keys" to resources, which are
partially defined. They have enough data to allow $get to fetch the
whole gamout. Then $get fetches all the details of the resource.
|
|
pattern for forcing a reload of the script in the browser irrespective
of the cache settings the host has.
|
|
be passing data in the body of the response. The bug is here:
http://github.com/angular/angular.js/blob/master/src/Resource.js#L119
Instead of checking for !isGet you should be checking for !isPost. Also isPost should be isPostOrPut since only on those two methods should be sending a payload if I am not mistaken.
|
|
|
|
|
|
|
|
- Browser.cookies()
- MockBrowser
- $cookie service
- $sessionStore
|
|
|
|
|
|
|
|
|
|
underscore.js compatibility
|
|
|
|
|
|
|
|
|
|
the loop but outside of the try/catch clause
|