<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/service, branch v0.9.17</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>feat:$xhr: provide access to $xhr header defaults</title>
<updated>2011-06-30T07:34:50+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-06-29T07:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c5f3a413bc00acf9ac1046fb15b454096a8890c6'/>
<id>c5f3a413bc00acf9ac1046fb15b454096a8890c6</id>
<content type='text'>
$xhr header defaults are now exposed as $xhr.defaults.headers.common and
$xhr.default.headers.&lt;httpmethod&gt;. This allows applications to configure
their defaults as needed.

This commit doesn't allow headers to be set per request, only per
application. Per request change would require api change, which I tried
to avoid *for now*.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$xhr header defaults are now exposed as $xhr.defaults.headers.common and
$xhr.default.headers.&lt;httpmethod&gt;. This allows applications to configure
their defaults as needed.

This commit doesn't allow headers to be set per request, only per
application. Per request change would require api change, which I tried
to avoid *for now*.
</pre>
</div>
</content>
</entry>
<entry>
<title>Throw error when compiling multiple roots</title>
<updated>2011-06-08T22:21:33+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-05-06T20:29:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=04a62e83bcd4067749fa5e2eb0181bc43500169c'/>
<id>04a62e83bcd4067749fa5e2eb0181bc43500169c</id>
<content type='text'>
Closes #338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #338
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename deprecated wasCalled() -&gt; toHaveBeenCalled() in all specs</title>
<updated>2011-05-31T08:32:54+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2011-05-31T08:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2e5199997c77cb2febed4ff21bc12a5d5fbad4ce'/>
<id>2e5199997c77cb2febed4ff21bc12a5d5fbad4ce</id>
<content type='text'>
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
</pre>
</div>
</content>
</entry>
<entry>
<title>make xhr.cache optionally synchronous</title>
<updated>2011-03-30T22:22:22+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-03-30T16:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c06c5a36b108c6ad20776923d75eb6f32ace591b'/>
<id>c06c5a36b108c6ad20776923d75eb6f32ace591b</id>
<content type='text'>
- add `sync` flag xhr.cache
- change ng:include to use the sync flag
- change ng:view to use the sync flag

The end result is that there are fewer repaints in the browser,
which means less "blinking" that user sees.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- add `sync` flag xhr.cache
- change ng:include to use the sync flag
- change ng:view to use the sync flag

The end result is that there are fewer repaints in the browser,
which means less "blinking" that user sees.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added missing semi-colons</title>
<updated>2011-03-29T06:04:48+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2011-03-25T16:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=9312bed4728e9f550fea131040cae199b3ab0c22'/>
<id>9312bed4728e9f550fea131040cae199b3ab0c22</id>
<content type='text'>
So that my eclipse stops complaining...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that my eclipse stops complaining...
</pre>
</div>
</content>
</entry>
<entry>
<title>Added XSRF prevention logic to $xhr service</title>
<updated>2011-03-11T22:16:53+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-03-10T21:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c578f8c3ed0ca23b03ccde146cb13cfaf24f17cd'/>
<id>c578f8c3ed0ca23b03ccde146cb13cfaf24f17cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consider all 2xx responses as OK, not just 200</title>
<updated>2011-03-11T22:16:52+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-03-10T05:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5343deb3da0e667599fe66d8efa3566b4e337a24'/>
<id>5343deb3da0e667599fe66d8efa3566b4e337a24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>$xhr service now autodetects and strips )]}',\n</title>
<updated>2011-03-03T06:56:14+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-03-03T01:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=cd139f57678b98c82387d5b0034f653043b7165a'/>
<id>cd139f57678b98c82387d5b0034f653043b7165a</id>
<content type='text'>
")]}\',\n" is a commonly used security prefix added to json http
responses iat google and elsewhere in order to prevent certain
cross-site attacks

$xhr service now autodetects the prefix and strips it before
deserializing the json.

the implementation should be more flexible to allow for wider range
of prefixes, but we need this one right now and can address other
usecases later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
")]}\',\n" is a commonly used security prefix added to json http
responses iat google and elsewhere in order to prevent certain
cross-site attacks

$xhr service now autodetects the prefix and strips it before
deserializing the json.

the implementation should be more flexible to allow for wider range
of prefixes, but we need this one right now and can address other
usecases later.
</pre>
</div>
</content>
</entry>
<entry>
<title>linking function should return bound scope</title>
<updated>2011-03-02T01:09:25+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-02-25T22:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=945056b1667a69ecc4d557cc0f03894597250ced'/>
<id>945056b1667a69ecc4d557cc0f03894597250ced</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Added delay parameter to the $defer service</title>
<updated>2011-02-25T19:30:22+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-02-25T19:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=edbe9d8ca8f7963969464eca4e7bb18426f137e5'/>
<id>edbe9d8ca8f7963969464eca4e7bb18426f137e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
