<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ng/directive, branch v1.0.0rc7</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>feat($parse): CSP compatibility</title>
<updated>2012-04-28T06:04:24+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-27T22:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2b87c814ab70eaaff6359ce1a118f348c8bd2197'/>
<id>2b87c814ab70eaaff6359ce1a118f348c8bd2197</id>
<content type='text'>
CSP (content security policy) forbids apps to use eval or
Function(string) generated functions (among other things). For us to be
compatible, we just need to implement the "getterFn" in $parse without
violating any of these restrictions.

We currently use Function(string) generated functions as a speed
optimization. With this change, it will be possible to opt into the CSP
compatible mode using the ngCsp directive. When this mode is on Angular
will evaluate all expressions up to 30% slower than in non-CSP mode, but
no security violations will be raised.

In order to use this feature put ngCsp directive on the root element of
the application. For example:

&lt;!doctype html&gt;
&lt;html ng-app ng-csp&gt;
  ...
  ...
&lt;/html&gt;

Closes #893
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CSP (content security policy) forbids apps to use eval or
Function(string) generated functions (among other things). For us to be
compatible, we just need to implement the "getterFn" in $parse without
violating any of these restrictions.

We currently use Function(string) generated functions as a speed
optimization. With this change, it will be possible to opt into the CSP
compatible mode using the ngCsp directive. When this mode is on Angular
will evaluate all expressions up to 30% slower than in non-CSP mode, but
no security violations will be raised.

In order to use this feature put ngCsp directive on the root element of
the application. For example:

&lt;!doctype html&gt;
&lt;html ng-app ng-csp&gt;
  ...
  ...
&lt;/html&gt;

Closes #893
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(select): properly handle empty &amp; unknown options without ngOptions</title>
<updated>2012-04-20T21:29:37+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-18T07:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=904b69c745ea4afc1d6ecd2a5f3138c6f947b157'/>
<id>904b69c745ea4afc1d6ecd2a5f3138c6f947b157</id>
<content type='text'>
Previously only when ngOptions was used, we correctly handled situations
when model was set to an unknown value. With this change, we'll add/remove
extra unknown option or reuse an existing empty option (option with value
set to "") when model is undefined.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously only when ngOptions was used, we correctly handled situations
when model was set to an unknown value. With this change, we'll add/remove
extra unknown option or reuse an existing empty option (option with value
set to "") when model is undefined.
</pre>
</div>
</content>
</entry>
<entry>
<title>test(selectSpec): clean up and simplify specs</title>
<updated>2012-04-20T21:29:36+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-17T22:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c65c34ebfe0f70c83a45f283654c8558802752cf'/>
<id>c65c34ebfe0f70c83a45f283654c8558802752cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(script): Incorrectly reading script text on ie</title>
<updated>2012-04-20T18:29:34+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-04-17T20:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=94dd68570952f6f31abfa351b1159afcd3588a57'/>
<id>94dd68570952f6f31abfa351b1159afcd3588a57</id>
<content type='text'>
IE deals with script tags in special way and .text() does not work. Reading the .text property directly fixes the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IE deals with script tags in special way and .text() does not work. Reading the .text property directly fixes the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input.radio): support 2-way binding in a repeater</title>
<updated>2012-04-11T22:50:52+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-04-10T20:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=93d62860e988a09fb64e594f50f6cd55a1fc5748'/>
<id>93d62860e988a09fb64e594f50f6cd55a1fc5748</id>
<content type='text'>
Closes #869
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #869
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module</title>
<updated>2012-04-11T22:50:47+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-04-10T23:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5bcd7198664dca2bf85ddf8b3a89f417cd4e4796'/>
<id>5bcd7198664dca2bf85ddf8b3a89f417cd4e4796</id>
<content type='text'>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(ngBind): remove obsolete test</title>
<updated>2012-04-09T18:49:51+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-09T18:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b5406d276d73bcb0319eb451fa1cf2aec1e67946'/>
<id>b5406d276d73bcb0319eb451fa1cf2aec1e67946</id>
<content type='text'>
this test is not testing what it claims it is.

we don't need it any more
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this test is not testing what it claims it is.

we don't need it any more
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(tests): rename all directive names to the normalized form</title>
<updated>2012-04-09T18:48:54+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-09T18:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0f89383d981d0144c6db92b163edcc545d6b5222'/>
<id>0f89383d981d0144c6db92b163edcc545d6b5222</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngBindHtml): clear contents when model is falsy</title>
<updated>2012-04-09T16:52:28+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-08T09:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=10daefc6f466a21d9418437666461c80cf24fcfe'/>
<id>10daefc6f466a21d9418437666461c80cf24fcfe</id>
<content type='text'>
Closes #864
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #864
</pre>
</div>
</content>
</entry>
<entry>
<title>test(ngBindSpec): correct tests + split them up</title>
<updated>2012-04-09T16:52:28+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2012-04-08T09:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=dc7b764d4da500682799234b32b6bd44e73c5d41'/>
<id>dc7b764d4da500682799234b32b6bd44e73c5d41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
