<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng, branch g3_v1_2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>test($rootScope): add assertion to test ensuring that NaN -&gt; NaN does not throw</title>
<updated>2014-03-21T20:05:29+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2014-03-20T03:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ad128e09ff0f5837d659f0b9d0bf304446f46044'/>
<id>ad128e09ff0f5837d659f0b9d0bf304446f46044</id>
<content type='text'>
https://github.com/angular/angular.js/commit/fb6062fb9d83545730b993e94ac7482ffd43a62c implements a
fix for NaN values causing $watchCollection to throw an infdig error. This change updates the test
by adding an assertion which explains what is actually being tested a bit better, and may also
provide better information in the event that the test ever fails.

Closes #6758
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/angular/angular.js/commit/fb6062fb9d83545730b993e94ac7482ffd43a62c implements a
fix for NaN values causing $watchCollection to throw an infdig error. This change updates the test
by adding an assertion which explains what is actually being tested a bit better, and may also
provide better information in the event that the test ever fails.

Closes #6758
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($rootScope): ng-repeat can't handle NaN values. #4605</title>
<updated>2014-03-21T20:05:29+00:00</updated>
<author>
<name>Sekib Omazic</name>
</author>
<published>2014-02-09T16:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e48c28fe9292efe7af6205b2be116d2350990c73'/>
<id>e48c28fe9292efe7af6205b2be116d2350990c73</id>
<content type='text'>
$watchCollection checks if oldValue !== newValue which does not work for NaN. This was causing
infinite digest errors, since comparing NaN to NaN in $watchCollection would always return false,
indicating that a change was occuring on each loop.

This fix adds a simple check to see if the current value and previous value are both NaN, and
if so, does not count it as a change.

Closes #4605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$watchCollection checks if oldValue !== newValue which does not work for NaN. This was causing
infinite digest errors, since comparing NaN to NaN in $watchCollection would always return false,
indicating that a change was occuring on each loop.

This fix adds a simple check to see if the current value and previous value are both NaN, and
if so, does not count it as a change.

Closes #4605
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(orderBy): support string predicates containing non-ident characters</title>
<updated>2014-03-21T20:05:29+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2014-02-06T04:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=10d3e1e4472ab9f5cf4418b6438ec2e0f2b0b288'/>
<id>10d3e1e4472ab9f5cf4418b6438ec2e0f2b0b288</id>
<content type='text'>
The orderBy filter now allows string predicates passed to the orderBy filter to make use property
name predicates containing non-ident strings, such as spaces or percent signs, or non-latin
characters.

This behaviour requires the predicate string to be double-quoted.

In markup, this might look like so:

```html
&lt;div ng-repeat="item in items | orderBy:'\"Tip %\"'"&gt;
...
&lt;/div&gt;
```

Or in JS:

```js
var sorted = $filter('orderBy')(array, ['"Tip %"', '-"Subtotal $"'], false);
```

Closes #6143
Closes #6144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The orderBy filter now allows string predicates passed to the orderBy filter to make use property
name predicates containing non-ident strings, such as spaces or percent signs, or non-latin
characters.

This behaviour requires the predicate string to be double-quoted.

In markup, this might look like so:

```html
&lt;div ng-repeat="item in items | orderBy:'\"Tip %\"'"&gt;
...
&lt;/div&gt;
```

Or in JS:

```js
var sorted = $filter('orderBy')(array, ['"Tip %"', '-"Subtotal $"'], false);
```

Closes #6143
Closes #6144
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(select): avoid checking option element selected properties in render</title>
<updated>2014-03-20T21:27:02+00:00</updated>
<author>
<name>Jeff Balboni</name>
</author>
<published>2014-01-26T21:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=dc149de9364c66b988f169f67cad39577ba43434'/>
<id>dc149de9364c66b988f169f67cad39577ba43434</id>
<content type='text'>
In Firefox, hovering over an option in an open select menu updates the selected property of option
elements. This means that when a render is triggered by the digest cycle, and the list of options
is being rendered, the selected properties are reset to the values from the model and the option
hovered over changes. This fix changes the code to only use DOM elements' selected properties in a
comparison when a change event has been fired. Otherwise, the internal new and existing option
arrays are used.

Closes #2448
Closes #5994
Closes #6769
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Firefox, hovering over an option in an open select menu updates the selected property of option
elements. This means that when a render is triggered by the digest cycle, and the list of options
is being rendered, the selected properties are reset to the values from the model and the option
hovered over changes. This fix changes the code to only use DOM elements' selected properties in a
comparison when a change event has been fired. Otherwise, the internal new and existing option
arrays are used.

Closes #2448
Closes #5994
Closes #6769
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($$RAFProvider): check for webkitCancelRequestAnimationFrame</title>
<updated>2014-03-19T01:38:20+00:00</updated>
<author>
<name>Traxmaxx</name>
</author>
<published>2014-03-04T17:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e84da2283c4e195be557f7b06c8783fe502acbbb'/>
<id>e84da2283c4e195be557f7b06c8783fe502acbbb</id>
<content type='text'>
Android 4.3 only supports webkitCancelRequestAnimationFrame.

Closes #6526
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 4.3 only supports webkitCancelRequestAnimationFrame.

Closes #6526
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(Scope): $watchCollection should call listener with oldValue</title>
<updated>2014-03-18T19:01:42+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2014-03-17T22:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=3dd9572754c7bafec30dd625f5c611346959c969'/>
<id>3dd9572754c7bafec30dd625f5c611346959c969</id>
<content type='text'>
Originally we destroyed the oldValue by incrementaly copying over portions of the newValue
into the oldValue during dirty-checking, this resulted in oldValue to be equal to newValue
by the time we called the watchCollection listener.

The fix creates a copy of the newValue each time a change is detected and then uses that
copy *the next time* a change is detected.

To make `$watchCollection` behave the same way as `$watch`, during the first iteration
the listener is called with newValue and oldValue being identical.

Since many of the corner-cases are already covered by existing tests, I refactored the
test logging to include oldValue and made the tests more readable.

Closes #2621
Closes #5661
Closes #5688
Closes #6736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally we destroyed the oldValue by incrementaly copying over portions of the newValue
into the oldValue during dirty-checking, this resulted in oldValue to be equal to newValue
by the time we called the watchCollection listener.

The fix creates a copy of the newValue each time a change is detected and then uses that
copy *the next time* a change is detected.

To make `$watchCollection` behave the same way as `$watch`, during the first iteration
the listener is called with newValue and oldValue being identical.

Since many of the corner-cases are already covered by existing tests, I refactored the
test logging to include oldValue and made the tests more readable.

Closes #2621
Closes #5661
Closes #5688
Closes #6736
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($http): allow sending Blob data using $http</title>
<updated>2014-03-16T16:52:44+00:00</updated>
<author>
<name>Bruno Baia</name>
</author>
<published>2013-11-18T23:30:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=fbb125a3af164e52af2f8119175b04cbbed2f331'/>
<id>fbb125a3af164e52af2f8119175b04cbbed2f331</id>
<content type='text'>
Closes #5012
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5012
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($http): don't covert 0 status codes to 404 for non-file protocols</title>
<updated>2014-03-14T20:45:07+00:00</updated>
<author>
<name>Pawel Kozlowski</name>
</author>
<published>2014-03-01T11:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f108a2a994149ecc011e29f327bcb8e11adf72d9'/>
<id>f108a2a994149ecc011e29f327bcb8e11adf72d9</id>
<content type='text'>
PR #5547 introduced conversion of all 0 status codes to 404 for cases
where no response was recieved (previously this was done for the
file:// protocol only). But this mechanism is too eager and
masks legitimate cases where status 0 should be returned. This commits
reverts to the previous mechanism of handling 0 status code for the
file:// protocol (converting 0 to 404) while retaining the returned
status code 0 for all the protocols other than file://

Fixes #6074
Fixes #6155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR #5547 introduced conversion of all 0 status codes to 404 for cases
where no response was recieved (previously this was done for the
file:// protocol only). But this mechanism is too eager and
masks legitimate cases where status 0 should be returned. This commits
reverts to the previous mechanism of handling 0 status code for the
file:// protocol (converting 0 to 404) while retaining the returned
status code 0 for all the protocols other than file://

Fixes #6074
Fixes #6155
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($$rAF): always fallback to a $timeout incase native rAF isn't supported</title>
<updated>2014-03-14T17:48:37+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-03-14T16:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ee8e4a946ed8f943e00846b88d8d51c0b2cd1fab'/>
<id>ee8e4a946ed8f943e00846b88d8d51c0b2cd1fab</id>
<content type='text'>
Closes #6654
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6654
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($compile): support templates with thead and tfoot root elements</title>
<updated>2014-03-07T23:09:16+00:00</updated>
<author>
<name>Lucas Galfasó</name>
</author>
<published>2014-02-17T12:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ca0ac649971ae4fb50419b38f92a98d2226eb696'/>
<id>ca0ac649971ae4fb50419b38f92a98d2226eb696</id>
<content type='text'>
If the first element in a template is a &lt;thead&gt; or a &lt;tfoot&gt;, then
use the existing logic to handle table elements compilation.

Closes #6289
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the first element in a template is a &lt;thead&gt; or a &lt;tfoot&gt;, then
use the existing logic to handle table elements compilation.

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