<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/ngMock, branch v1.2.9</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix(ngMock): ensure ngAnimate isn't a required mock</title>
<updated>2014-01-15T08:43:52+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-15T08:43:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=1413328e6aec87338bf1fce002dfaf519d9ca1b5'/>
<id>1413328e6aec87338bf1fce002dfaf519d9ca1b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($animate): use requestAnimationFrame instead of a timeout to issue a reflow</title>
<updated>2014-01-14T18:21:19+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-12T20:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4ae3184c5915aac9aa00889aa2153c8e84c14966'/>
<id>4ae3184c5915aac9aa00889aa2153c8e84c14966</id>
<content type='text'>
Closes #4278
Closes #4225
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4278
Closes #4225
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngMock window.inject): Remove Error 'stack' property changes</title>
<updated>2014-01-07T01:47:06+00:00</updated>
<author>
<name>Andrew C. Greenberg</name>
</author>
<published>2013-11-20T06:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=7e916455b36dc9ca4d4afc1e44cade90006d00e3'/>
<id>7e916455b36dc9ca4d4afc1e44cade90006d00e3</id>
<content type='text'>
Recent browsers, particularly PhantomJS 1.9.2 and Safari 7.0
treat the stack property as non-configurable and unwritable.

Because window.inject captures the stack at the time of the inject,
and attempts to insert it into a captured throw from the injected
function by modifying e.stack, a meaningless error message and
stack is thrown instead.

This commit inserts two tests exposing the problem, and implements
a proposed solution that builds a new error-like object that mimicks
the old Error object, but with the additional stack information, and
captures the toString function from the Error object prototype.  This
appears to work for the browsers suppoerted here.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recent browsers, particularly PhantomJS 1.9.2 and Safari 7.0
treat the stack property as non-configurable and unwritable.

Because window.inject captures the stack at the time of the inject,
and attempts to insert it into a captured throw from the injected
function by modifying e.stack, a meaningless error message and
stack is thrown instead.

This commit inserts two tests exposing the problem, and implements
a proposed solution that builds a new error-like object that mimicks
the old Error object, but with the additional stack information, and
captures the toString function from the Error object prototype.  This
appears to work for the browsers suppoerted here.</pre>
</div>
</content>
</entry>
<entry>
<title>fix($httpBackend): use ActiveX XHR when making PATCH requests on IE8</title>
<updated>2014-01-03T06:04:32+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-12-13T09:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=6c17d02bc4cc02f478775d62e1f9f77da9da82ad'/>
<id>6c17d02bc4cc02f478775d62e1f9f77da9da82ad</id>
<content type='text'>
IE8's native XHR doesn't support PATCH requests, but the ActiveX one does.

I'm also removing the noxhr error doc because nobody will ever get that error.

Closes #2518
Closes #5043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IE8's native XHR doesn't support PATCH requests, but the ActiveX one does.

I'm also removing the noxhr error doc because nobody will ever get that error.

Closes #2518
Closes #5043
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(angular-mocks): use copy of mock data in $httpBackend</title>
<updated>2013-12-11T23:18:45+00:00</updated>
<author>
<name>Karl Seamon</name>
</author>
<published>2013-12-06T19:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f69dc16241c8b631123ad0b09674f0a5e0ff32fe'/>
<id>f69dc16241c8b631123ad0b09674f0a5e0ff32fe</id>
<content type='text'>
Copy mock data returned from the mock $httpBackend.
This prevents modifications to the response from affecting future responses.
Previously, this misbehavior was being mitigated by the deep copy in $resource, but that no longer exists.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy mock data returned from the mock $httpBackend.
This prevents modifications to the response from affecting future responses.
Previously, this misbehavior was being mitigated by the deep copy in $resource, but that no longer exists.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(mocks): wrap angular-mocks.js in closure</title>
<updated>2013-11-26T13:22:29+00:00</updated>
<author>
<name>David Mosher</name>
</author>
<published>2013-11-22T00:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5bd6596856c9f88c0ce3d96ff1ed4daa082cbe29'/>
<id>5bd6596856c9f88c0ce3d96ff1ed4daa082cbe29</id>
<content type='text'>
Closes #5080
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5080
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngMock): fixes httpBackend expectation with body object</title>
<updated>2013-11-22T06:57:15+00:00</updated>
<author>
<name>Corey Burrows</name>
</author>
<published>2013-11-14T14:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4d16472b918a3482942d76f1e273a5aa01f65e83'/>
<id>4d16472b918a3482942d76f1e273a5aa01f65e83</id>
<content type='text'>
Fixes an issue with httpBackend expectations where a given body object
may not match the actual request body if its keys are serialized in a
different order.

Closes #4956
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes an issue with httpBackend expectations where a given body object
may not match the actual request body if its keys are serialized in a
different order.

Closes #4956
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(mocks): Remove reference to flushNext</title>
<updated>2013-11-14T16:07:36+00:00</updated>
<author>
<name>James deBoer</name>
</author>
<published>2013-11-12T01:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=04492ef2279e2be18162bef89b0a75992a400cae'/>
<id>04492ef2279e2be18162bef89b0a75992a400cae</id>
<content type='text'>
Closes #4885
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4885
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngMock): throw more descriptive errors for $animate.flushNext()</title>
<updated>2013-11-06T08:14:11+00:00</updated>
<author>
<name>Jeff Cross</name>
</author>
<published>2013-11-06T07:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=6fb191570ee72f087e8bb6b1d8f5eea0f585886c'/>
<id>6fb191570ee72f087e8bb6b1d8f5eea0f585886c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(angular-mocks): add inline dependency annotation</title>
<updated>2013-10-28T19:45:00+00:00</updated>
<author>
<name>Derek Hammer</name>
</author>
<published>2013-10-16T00:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=6d23591c31f2b41097ceaa380af09998e4a62f09'/>
<id>6d23591c31f2b41097ceaa380af09998e4a62f09</id>
<content type='text'>
Annotation allows the angular-mocks to be minified, which sometimes happens with frameworks that
automatically process files before running tests.
Also, some developers have been using this library in code for their applications.
This is not recommended as the library is only designed to support testing and not production
applications.  If you are likely to want to use the code here in production you would be best
forking and maintaining your own version of the code as we will not guarantee that we won't
break the annotation of the code in the future.

Closes #4448
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Annotation allows the angular-mocks to be minified, which sometimes happens with frameworks that
automatically process files before running tests.
Also, some developers have been using this library in code for their applications.
This is not recommended as the library is only designed to support testing and not production
applications.  If you are likely to want to use the code here in production you would be best
forking and maintaining your own version of the code as we will not guarantee that we won't
break the annotation of the code in the future.

Closes #4448
</pre>
</div>
</content>
</entry>
</feed>
