<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/scenario/DSL.js, branch g3-v1.0.0-rc2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>Significantly clean up the way the scenario DSL works and implement many more DSL statements.</title>
<updated>2010-10-19T07:45:38+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-10-18T21:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e7e894a2e36e042be6d62af56b0f3126f4e4fc77'/>
<id>e7e894a2e36e042be6d62af56b0f3126f4e4fc77</id>
<content type='text'>
- "this" always means the current chain scope inside a DSL

- addFutureAction callbacks now take ($window, $document, done)

- $document has a special method elements() that uses the currently selected nodes in the document as defined by using() statements.

- $document.elements() allows placeholder insertion into selectors to make them more readable.
  ex. $document.elements('input[name="$1"]', myVar) will substitute the value of myVar for $1 in the selector. Subsequent arguments are $2 and so on.

- $document.elements() results have a special method trigger(event) which should be used to events. This method implements some hacks to make sure browser UI controls update and the correct angular events fire.

- futures now allow custom formatting. By default any chain that results in a future can use toJson() or fromJson() to convert the future value to and from json. A custom parser can be provided with parsedWith(fn) where fn is a callback(value) that must return the parsed result.

Note: The entire widgets.html UI is now able to be controlled and asserted through DSL statements!!! Victory! :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- "this" always means the current chain scope inside a DSL

- addFutureAction callbacks now take ($window, $document, done)

- $document has a special method elements() that uses the currently selected nodes in the document as defined by using() statements.

- $document.elements() allows placeholder insertion into selectors to make them more readable.
  ex. $document.elements('input[name="$1"]', myVar) will substitute the value of myVar for $1 in the selector. Subsequent arguments are $2 and so on.

- $document.elements() results have a special method trigger(event) which should be used to events. This method implements some hacks to make sure browser UI controls update and the correct angular events fire.

- futures now allow custom formatting. By default any chain that results in a future can use toJson() or fromJson() to convert the future value to and from json. A custom parser can be provided with parsedWith(fn) where fn is a callback(value) that must return the parsed result.

Note: The entire widgets.html UI is now able to be controlled and asserted through DSL statements!!! Victory! :)
</pre>
</div>
</content>
</entry>
<entry>
<title>New Angular Scenario runner and DSL system with redesigned HTML UI.</title>
<updated>2010-10-14T16:47:39+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-10-08T23:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=03df6cbddbb80186caf571e29957370b2ef9881c'/>
<id>03df6cbddbb80186caf571e29957370b2ef9881c</id>
<content type='text'>
Uses the Jasmine syntax for tests, ex:

describe('widgets', function() {
  it('should verify that basic widgets work', function(){
    navigateTo('widgets.html');
    input('text.basic').enter('Carlos');
    expect(binding('text.basic')).toEqual('Carlos');
    input('text.basic').enter('Carlos Santana');
    expect(binding('text.basic')).not().toEqual('Carlos Boozer');
    input('text.password').enter('secret');
    expect(binding('text.password')).toEqual('secret');
    expect(binding('text.hidden')).toEqual('hiddenValue');
    expect(binding('gender')).toEqual('male');
    input('gender').select('female');
    expect(binding('gender')).toEqual('female');
  });
});

Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uses the Jasmine syntax for tests, ex:

describe('widgets', function() {
  it('should verify that basic widgets work', function(){
    navigateTo('widgets.html');
    input('text.basic').enter('Carlos');
    expect(binding('text.basic')).toEqual('Carlos');
    input('text.basic').enter('Carlos Santana');
    expect(binding('text.basic')).not().toEqual('Carlos Boozer');
    input('text.password').enter('secret');
    expect(binding('text.password')).toEqual('secret');
    expect(binding('text.hidden')).toEqual('hiddenValue');
    expect(binding('gender')).toEqual('male');
    input('gender').select('female');
    expect(binding('gender')).toEqual('female');
  });
});

Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed all trivial jslint violations</title>
<updated>2010-09-14T21:22:15+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2010-09-14T21:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=894ffadc8c35da6c7daf3e16a9f4931b24f3b231'/>
<id>894ffadc8c35da6c7daf3e16a9f4931b24f3b231</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue with jquery not being visible in production</title>
<updated>2010-08-14T01:23:39+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-14T01:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=aa656253b9d4495264f14a76b6a80aa9a1d9a854'/>
<id>aa656253b9d4495264f14a76b6a80aa9a1d9a854</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide all jquery functions as futures</title>
<updated>2010-08-13T19:05:50+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-13T19:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=675978f41fbd05a7ed3481a79b772877a59a1c15'/>
<id>675978f41fbd05a7ed3481a79b772877a59a1c15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert click dsl, since what is returned by element is a jquery object</title>
<updated>2010-08-13T16:45:56+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-13T16:45:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2767d7773f2e480552e9968eded31bd2b08bec71'/>
<id>2767d7773f2e480552e9968eded31bd2b08bec71</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull in Rajat's changes to add click and url checking dsl</title>
<updated>2010-08-13T16:31:06+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-13T16:31:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=577ddaa5392dfad3b984515de0ad9262764a8721'/>
<id>577ddaa5392dfad3b984515de0ad9262764a8721</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>modify element dsl to understand angular bindings and return jquery object for further checking</title>
<updated>2010-08-11T17:54:11+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-11T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=567341c10fc7f74d5333f27514bb2201f1dbee42'/>
<id>567341c10fc7f74d5333f27514bb2201f1dbee42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change repeater dsl to collect and return an array of string contents based on match</title>
<updated>2010-08-11T02:10:43+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-11T02:10:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e7b90956552bc129935e7b8dec947eb3e30f3c29'/>
<id>e7b90956552bc129935e7b8dec947eb3e30f3c29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test breakage in Chrome. Chrome JQuery doesn't like malformed table html apparently</title>
<updated>2010-08-10T20:42:50+00:00</updated>
<author>
<name>Shyam Seshadri</name>
</author>
<published>2010-08-10T20:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c4c96c5c69846fb8eccc278c1eb20f94d69a2b99'/>
<id>c4c96c5c69846fb8eccc278c1eb20f94d69a2b99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
