<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng/directive, branch v1.2.13</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($animate): ensure $animate doesn't break natural CSS transitions</title>
<updated>2014-02-15T00:30:48+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-02-14T09:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4f84f6b3e4210ae1eb14728a46d43dd961700a0c'/>
<id>4f84f6b3e4210ae1eb14728a46d43dd961700a0c</id>
<content type='text'>
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass`
animation callback instead of addClass / removeClass when both a
addClass/removeClass operation is being executed on the element during the animation.

Please include the setClass animation callback as well as addClass and removeClass within
your JS animations to work with ngClass and {{ class }} directives.

Closes #6019
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass`
animation callback instead of addClass / removeClass when both a
addClass/removeClass operation is being executed on the element during the animation.

Please include the setClass animation callback as well as addClass and removeClass within
your JS animations to work with ngClass and {{ class }} directives.

Closes #6019
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): setViewValue on compositionend</title>
<updated>2014-02-13T01:28:13+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2013-12-16T18:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2b7302713674506fdbcdc396c38f18dcb90dee8c'/>
<id>2b7302713674506fdbcdc396c38f18dcb90dee8c</id>
<content type='text'>
Because of a4e6d962, model is not updated on input/change between the
compositionstart and compositionend events. Unfortunately, the compositionend
event does not always happen prior to an input/change event.

This changeset calls the listener function to update the model after a
compositionend event is received.

Closes #6058
Closes #5433
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because of a4e6d962, model is not updated on input/change between the
compositionstart and compositionend events. Unfortunately, the compositionend
event does not always happen prior to an input/change event.

This changeset calls the listener function to update the model after a
compositionend event is received.

Closes #6058
Closes #5433
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mocks): rename mock.animate to ngAnimateMock and ensure it contains all test helper code for ngAnimate</title>
<updated>2014-02-06T06:22:14+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-23T00:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4224cd5182bc93e4a210f75e0a4e4de7f3c544e8'/>
<id>4224cd5182bc93e4a210f75e0a4e4de7f3c544e8</id>
<content type='text'>
Closes #5822
Closes #5917
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5822
Closes #5917
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mocks): remove usage of $animate.flushNext in favour of queing</title>
<updated>2014-02-06T06:21:41+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-01-23T00:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=906fdad0f95465842e336e057ea97d0633712189'/>
<id>906fdad0f95465842e336e057ea97d0633712189</id>
<content type='text'>
The flushNext method of testing is difficult and highly coupled with the behavior
of ngAnimate's $animate workflow. It is much better instead to just queue all
$animate animation calls into a queue collection which is available on the $animate
service when mock.animate is included as a module within test code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flushNext method of testing is difficult and highly coupled with the behavior
of ngAnimate's $animate workflow. It is much better instead to just queue all
$animate animation calls into a queue collection which is available on the $animate
service when mock.animate is included as a module within test code.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(a): don't preventDefault on click when SVGAElement has an xlink:href attribute</title>
<updated>2014-01-22T19:51:47+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2014-01-20T16:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e0209169bf1463465ad07484421620748a4d3908'/>
<id>e0209169bf1463465ad07484421620748a4d3908</id>
<content type='text'>
Before this change, an SVGAElement with an xlink:href attribute and no href or name attribute which
was compiled by the angular HTML compiler would never be clickable, due to the htmlAnchorDirective
calling event.preventDefault() due to the missing href attribute.

This change corrects this behaviour by also testing the xlink:href attribute if the element in
question is determined to be an SVG anchor tag (with the href property having type SVGAnimatedString)

Closes #5896
Closes #5897
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, an SVGAElement with an xlink:href attribute and no href or name attribute which
was compiled by the angular HTML compiler would never be clickable, due to the htmlAnchorDirective
calling event.preventDefault() due to the missing href attribute.

This change corrects this behaviour by also testing the xlink:href attribute if the element in
question is determined to be an SVG anchor tag (with the href property having type SVGAnimatedString)

Closes #5896
Closes #5897
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): use Chromium's email validation regexp</title>
<updated>2014-01-22T02:40:55+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2014-01-22T02:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=79e519fedaec54390a8bdacfb1926bfce57a1eb6'/>
<id>79e519fedaec54390a8bdacfb1926bfce57a1eb6</id>
<content type='text'>
This change uses the regexp from Chromium/Blink to validate emails, and corrects
an error in the validation engine, which previously considered an invalid email
to be valid. Additionally, the regexp was invalidating emails with capital
letters, however this is not the behaviour recomended in the spec, or implemented
in Chromium.

Closes #5899
Closes #5924
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change uses the regexp from Chromium/Blink to validate emails, and corrects
an error in the validation engine, which previously considered an invalid email
to be valid. Additionally, the regexp was invalidating emails with capital
letters, however this is not the behaviour recomended in the spec, or implemented
in Chromium.

Closes #5899
Closes #5924
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(select): allow multiline ng-options</title>
<updated>2014-01-10T17:50:28+00:00</updated>
<author>
<name>Ajay Roopakalu</name>
</author>
<published>2014-01-04T03:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=43a2f3d0bf435e3626cd679caff4281cfb3415bd'/>
<id>43a2f3d0bf435e3626cd679caff4281cfb3415bd</id>
<content type='text'>
This patch allows the ng-options value of a &lt;select&gt; element to span
multiple lines, which would previously throw an error when used with filters.

Closes #5602
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows the ng-options value of a &lt;select&gt; element to span
multiple lines, which would previously throw an error when used with filters.

Closes #5602
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(inputSpec): fixed typo</title>
<updated>2014-01-07T00:37:47+00:00</updated>
<author>
<name>Ben Wiklund</name>
</author>
<published>2014-01-06T04:01:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=eb90672aae0fae1fdcd8b05b14b04f1e6818662b'/>
<id>eb90672aae0fae1fdcd8b05b14b04f1e6818662b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngShow/ngHide, ngIf): functions with zero args should be truthy</title>
<updated>2014-01-03T06:59:43+00:00</updated>
<author>
<name>Brian Ford</name>
</author>
<published>2014-01-02T22:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=01c5be4681e34cdc5f5c461b7a618fefe8038919'/>
<id>01c5be4681e34cdc5f5c461b7a618fefe8038919</id>
<content type='text'>
Previously, expressions that were a function with one or more arguments evaluated to
true, but functions with zero arguments evaluated to false.

This behavior seems both unintentional and undesirable. This patch makes a function
truthy regardless of its number of arguments.

Closes #5414
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, expressions that were a function with one or more arguments evaluated to
true, but functions with zero arguments evaluated to false.

This behavior seems both unintentional and undesirable. This patch makes a function
truthy regardless of its number of arguments.

Closes #5414
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngRepeat): allow for more flexible coding style in ngRepeat expression</title>
<updated>2014-01-03T00:14:16+00:00</updated>
<author>
<name>Gias Kay Lee</name>
</author>
<published>2014-01-02T16:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c9705b755645a4bfe066243f2ba15a733c3787e1'/>
<id>c9705b755645a4bfe066243f2ba15a733c3787e1</id>
<content type='text'>
With this change it's possible to split the ng-repeat expression into multiple
lines at any point in the expression where white-space is expected.

Closes #5537
Closes #5598
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this change it's possible to split the ng-repeat expression into multiple
lines at any point in the expression where white-space is expected.

Closes #5537
Closes #5598
</pre>
</div>
</content>
</entry>
</feed>
