<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src, branch v1.0.4</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix(ngResource): correct leading slash removal.</title>
<updated>2013-01-22T19:32:27+00:00</updated>
<author>
<name>pavelgj</name>
</author>
<published>2013-01-08T22:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4439e393198d6a1657c02c098e1b13212c3f1db6'/>
<id>4439e393198d6a1657c02c098e1b13212c3f1db6</id>
<content type='text'>
Fixed an issues with ngResource param substitution where it was incorrectly removing leading slash when param was followed by a non-slash character.
Ex:
'/:foo/:bar.baz/:aux'

params = {
  foo: 'aaa',
  bar: undefined,
  aux: undefined
}

The above params were incorrectly producing '/aaa.baz' but now it results in '/aaa/.baz'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed an issues with ngResource param substitution where it was incorrectly removing leading slash when param was followed by a non-slash character.
Ex:
'/:foo/:bar.baz/:aux'

params = {
  foo: 'aaa',
  bar: undefined,
  aux: undefined
}

The above params were incorrectly producing '/aaa.baz' but now it results in '/aaa/.baz'.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(q): added testing information</title>
<updated>2013-01-22T19:32:27+00:00</updated>
<author>
<name>Miško Hevery</name>
</author>
<published>2012-12-14T13:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b49c3a1a1efc85b31053481eea450c7be407957c'/>
<id>b49c3a1a1efc85b31053481eea450c7be407957c</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.equals): relax the comparison for undefined properties</title>
<updated>2013-01-22T15:35:06+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-01-22T06:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c7addd488677307c6d2b35c7656179fbe6d80999'/>
<id>c7addd488677307c6d2b35c7656179fbe6d80999</id>
<content type='text'>
in 5ae63fd3 the comparison was made consistent but strict, so that

angular.equals({}, {foo: undefined}) // always returns false

this turns out to cause issues for data that is being roundtripped via network
and serialized via JSON because JSON.stringify serializes {foo: undefined} as {}.

Since angular.equals() behaved like this before the 5ae63fd3 in 50% of the cases,
changing the behavior in this way should not introduce any significant issues.

Closes #1648
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in 5ae63fd3 the comparison was made consistent but strict, so that

angular.equals({}, {foo: undefined}) // always returns false

this turns out to cause issues for data that is being roundtripped via network
and serialized via JSON because JSON.stringify serializes {foo: undefined} as {}.

Since angular.equals() behaved like this before the 5ae63fd3 in 50% of the cases,
changing the behavior in this way should not introduce any significant issues.

Closes #1648
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(jqLite): fix typo</title>
<updated>2013-01-20T17:59:43+00:00</updated>
<author>
<name>sergiopantoja</name>
</author>
<published>2013-01-20T16:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e7a080d6e602bf0346b7bbad9503ada6dedbbe1c'/>
<id>e7a080d6e602bf0346b7bbad9503ada6dedbbe1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngSwitch): don't leak when destroyed while not attached</title>
<updated>2013-01-18T08:03:42+00:00</updated>
<author>
<name>danilsomsikov</name>
</author>
<published>2013-01-11T17:21:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=89303fd2dccb780bea594b16b8ec85d9f3bd8f92'/>
<id>89303fd2dccb780bea594b16b8ec85d9f3bd8f92</id>
<content type='text'>
The leak can occur when ngSwich is used inside ngRepeat or any other
directive which is destroyed while its transcluded content (which
includes ngSwitch) is not attached to the DOM.

Refactor ngSwitch to use controller instead of storing data on compile
node. This means that we don't need to clean up the jq data cache.
Controller reference is released when the linking fn is released.

Closes #1621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The leak can occur when ngSwich is used inside ngRepeat or any other
directive which is destroyed while its transcluded content (which
includes ngSwitch) is not attached to the DOM.

Refactor ngSwitch to use controller instead of storing data on compile
node. This means that we don't need to clean up the jq data cache.
Controller reference is released when the linking fn is released.

Closes #1621
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(exceptionHandler): document testing</title>
<updated>2013-01-18T07:11:02+00:00</updated>
<author>
<name>Fred Sauer</name>
</author>
<published>2013-01-17T02:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=1f8be1ca66b312fdc396403f01ee8aae9371577a'/>
<id>1f8be1ca66b312fdc396403f01ee8aae9371577a</id>
<content type='text'>
Update src/ng/exceptionHandler.js

Here's an iniitla attempt at documenting how one might write a
test using $exceptionHandlerProvider. The key take-away is the use
of this pattern:

it(...

 module(...
   $exceptionHandlerProvider.mode('log');
 });

 inject(...
 );

});
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update src/ng/exceptionHandler.js

Here's an iniitla attempt at documenting how one might write a
test using $exceptionHandlerProvider. The key take-away is the use
of this pattern:

it(...

 module(...
   $exceptionHandlerProvider.mode('log');
 });

 inject(...
 );

});
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(rootScope): correct code examples</title>
<updated>2013-01-18T07:11:02+00:00</updated>
<author>
<name>Matthew Browne</name>
</author>
<published>2013-01-15T16:49:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=cbc2024092b326cc7e46d4defc4bf2248bbeb835'/>
<id>cbc2024092b326cc7e46d4defc4bf2248bbeb835</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ngMock.$httpBackend): fix variable declaration</title>
<updated>2013-01-18T05:15:20+00:00</updated>
<author>
<name>Fred Sauer</name>
</author>
<published>2012-12-27T22:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f179a63dd49050bec65cfd7f755413d2ed90a03b'/>
<id>f179a63dd49050bec65cfd7f755413d2ed90a03b</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.equals): consistently compare undefined object props</title>
<updated>2013-01-18T01:49:07+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2013-01-18T00:53:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=a6b2ee785b91ce69fe265d423c18ea7a899c922d'/>
<id>a6b2ee785b91ce69fe265d423c18ea7a899c922d</id>
<content type='text'>
previously:

a = {};
b = {x:undefined};
angular.equals(a, b) == angular.equals(b, a) // returns false.

both should return false because these objects are not equal.

unlike in implemented in #1695 the comparison should be stricter
and return false not true. if we need to relax this in the future
we can always do so.

Closes #1648
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously:

a = {};
b = {x:undefined};
angular.equals(a, b) == angular.equals(b, a) // returns false.

both should return false because these objects are not equal.

unlike in implemented in #1695 the comparison should be stricter
and return false not true. if we need to relax this in the future
we can always do so.

Closes #1648
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($compile): support modifying the DOM structure in postlink fn</title>
<updated>2013-01-17T20:57:36+00:00</updated>
<author>
<name>Martin Probst</name>
</author>
<published>2013-01-08T19:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=66f051386e153f10bd2751a7cafb61404799adee'/>
<id>66f051386e153f10bd2751a7cafb61404799adee</id>
<content type='text'>
Support modifying the DOM structure in the post link function of a directive
by creating a defensive copy of the node list, as opposed to a live DOM list.
This is useful for directives to actually replace their entire DOM fragment,
e.g. with the HTML fragment generated by a 3rd party component (Closure, Bootstrap ...).
Fix the indentation of the compileNodes function (was one too little).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support modifying the DOM structure in the post link function of a directive
by creating a defensive copy of the node list, as opposed to a live DOM list.
This is useful for directives to actually replace their entire DOM fragment,
e.g. with the HTML fragment generated by a 3rd party component (Closure, Bootstrap ...).
Fix the indentation of the compileNodes function (was one too little).
</pre>
</div>
</content>
</entry>
</feed>
