<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ngRoute/directive, branch g3_v1_2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($animate): ensure that animateable directives cancel expired leave animations</title>
<updated>2014-02-26T19:53:57+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-02-21T08:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e9881991ca0a5019d3a4215477738ed247898ba0'/>
<id>e9881991ca0a5019d3a4215477738ed247898ba0</id>
<content type='text'>
If enter -&gt; leave -&gt; enter -&gt; leave occurs then the first leave animation will
animate alongside the second. This causes the very first DOM node (the view in ngView
for example) to animate at the same time as the most recent DOM node which ends
up being an undesired effect. This fix takes care of this issue.

Closes #5886
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If enter -&gt; leave -&gt; enter -&gt; leave occurs then the first leave animation will
animate alongside the second. This causes the very first DOM node (the view in ngView
for example) to animate at the same time as the most recent DOM node which ends
up being an undesired effect. This fix takes care of this issue.

Closes #5886
</pre>
</div>
</content>
</entry>
<entry>
<title>perf($animate): use rAF instead of timeouts to issue animation callbacks</title>
<updated>2014-02-25T02:23:18+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2014-02-25T00:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4c4537e65e6cf911c9659b562d89e3330ce3ffae'/>
<id>4c4537e65e6cf911c9659b562d89e3330ce3ffae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: remove ws and enfore no-trailing-ws jscs rule</title>
<updated>2014-02-18T18:44:48+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2014-02-18T11:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=481508d0e7ae9e4984ea380b9a43e589551c7a5b'/>
<id>481508d0e7ae9e4984ea380b9a43e589551c7a5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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(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(ngRoute): instantiate controller when template is empty</title>
<updated>2013-12-28T06:45:46+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2013-12-28T01:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=498365f219f65d6c29bdf2f03610a4d3646009bb'/>
<id>498365f219f65d6c29bdf2f03610a4d3646009bb</id>
<content type='text'>
Before this change, $route controllers are not instantiated if the template is falsy, which includes
the empty string. This change tests if the template is not undefined, rather than just falsy, in
order to ensure that templates are instantiated even when the template is empty, which people may
have some reason to do.

This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha"
for AngularJS / ngRoute.

Closes #5550
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, $route controllers are not instantiated if the template is falsy, which includes
the empty string. This change tests if the template is not undefined, rather than just falsy, in
order to ensure that templates are instantiated even when the template is empty, which people may
have some reason to do.

This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha"
for AngularJS / ngRoute.

Closes #5550
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): Add template to DOM before linking other directives</title>
<updated>2013-12-13T01:18:44+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-12-11T00:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f8944efe70b81e02704df9b53ea2546c80c73d3b'/>
<id>f8944efe70b81e02704df9b53ea2546c80c73d3b</id>
<content type='text'>
The template needs to be added to the DOM before
other directives at the same element as `ngView` are linked.

Related to #5247.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The template needs to be added to the DOM before
other directives at the same element as `ngView` are linked.

Related to #5247.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngView): Don't throw when the ngView element contains content with directives.</title>
<updated>2013-11-22T06:20:11+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-22T05:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e6521e7491242504250b57dd0ee66af49e653c33'/>
<id>e6521e7491242504250b57dd0ee66af49e653c33</id>
<content type='text'>
Fixes #5069
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5069
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($compile): ensure CSS classes are added and removed only when necessary</title>
<updated>2013-11-22T01:47:44+00:00</updated>
<author>
<name>Matias Niemelä</name>
</author>
<published>2013-11-19T03:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0cd7e8f22721f62b62440bb059ae764ebbe7b42a'/>
<id>0cd7e8f22721f62b62440bb059ae764ebbe7b42a</id>
<content type='text'>
When $compile interpolates a CSS class attribute expression it will
do so by comparing the CSS class value already present on the element.
This may lead to unexpected results when dealing with ngClass values being
added and removed therefore it is best that both compile and ngClass delegate
addClass/removeClass operations to the same block of code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When $compile interpolates a CSS class attribute expression it will
do so by comparing the CSS class value already present on the element.
This may lead to unexpected results when dealing with ngClass values being
added and removed therefore it is best that both compile and ngClass delegate
addClass/removeClass operations to the same block of code.
</pre>
</div>
</content>
</entry>
</feed>
