<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/scenario/SpecRunner.js, branch v1.0.8</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>chore(module): move files around in preparation for more modules</title>
<updated>2012-03-28T18:16:35+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2012-03-23T21:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2430f52bb97fa9d682e5f028c977c5bf94c5ec38'/>
<id>2430f52bb97fa9d682e5f028c977c5bf94c5ec38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(compiler): update the compiler docs</title>
<updated>2012-01-25T19:53:59+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-12-14T01:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=4804c83b7db5770d5d02eea9eea4cc012b4aa524'/>
<id>4804c83b7db5770d5d02eea9eea4cc012b4aa524</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK module</title>
<updated>2011-11-15T04:31:16+00:00</updated>
<author>
<name>Misko Hevery</name>
</author>
<published>2011-11-10T05:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f0fa5e63762e80fd4ee60ff6d365fca5f886292a'/>
<id>f0fa5e63762e80fd4ee60ff6d365fca5f886292a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(strict mode): adding strict mode flag to all js files</title>
<updated>2011-07-18T19:12:55+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-07-17T08:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=fe5240732d0a80b8717be77b31d51dc3c4d737fd'/>
<id>fe5240732d0a80b8717be77b31d51dc3c4d737fd</id>
<content type='text'>
the flag must be in all src and test files so that we get the benefit of
running in the strict mode even in jstd

the following script was used to modify all files:

for file in `find src test -name "*.js"`; do
  echo -e "'use strict';\n" &gt; temp.txt
  cat $file &gt;&gt; temp.txt
  mv temp.txt $file
done
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the flag must be in all src and test files so that we get the benefit of
running in the strict mode even in jstd

the following script was used to modify all files:

for file in `find src test -name "*.js"`; do
  echo -e "'use strict';\n" &gt; temp.txt
  cat $file &gt;&gt; temp.txt
  mv temp.txt $file
done
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some typos, missing semi-colons, etc...</title>
<updated>2011-04-25T15:17:17+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2011-04-19T22:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f85c82acd623e63f23a4f3ebba239280f14e380b'/>
<id>f85c82acd623e63f23a4f3ebba239280f14e380b</id>
<content type='text'>
This is a combination of 4 commits:
* Fix some small typos, missing semi-colons, etc.
* Fix comment for angular.scenario.SpecRunner.run method
* Fixed some missing semi-colons in cookbook
* Fixed missing semi-colon in nodeserver/server.js
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a combination of 4 commits:
* Fix some small typos, missing semi-colons, etc.
* Fix comment for angular.scenario.SpecRunner.run method
* Fixed some missing semi-colons in cookbook
* Fixed missing semi-colon in nodeserver/server.js
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename angular.foreach to angular.forEach to make the api consistent.</title>
<updated>2011-01-10T18:26:55+00:00</updated>
<author>
<name>Igor Minar</name>
</author>
<published>2011-01-08T06:02:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=0a6cf70debc6440685af3f9ea96a66450e4f4ed7'/>
<id>0a6cf70debc6440685af3f9ea96a66450e4f4ed7</id>
<content type='text'>
camelcase is used for other angular functions and forEach is also
used by EcmaScript standard.

- rename the internal as well as the external function name
- tweak the implementation of the function so that it doesn't
  clober it self when we extend the angular object with an
  object that has a forEach property equal to this forEach function

Closes #85
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
camelcase is used for other angular functions and forEach is also
used by EcmaScript standard.

- rename the internal as well as the external function name
- tweak the implementation of the function so that it doesn't
  clober it self when we extend the angular object with an
  object that has a forEach property equal to this forEach function

Closes #85
</pre>
</div>
</content>
</entry>
<entry>
<title>Support substring matching of bindings with repeater(). Closes #123</title>
<updated>2010-11-09T21:39:12+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-11-09T07:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=257e97a65f7dd794faa5d8c0d72bbd5a894cb471'/>
<id>257e97a65f7dd794faa5d8c0d72bbd5a894cb471</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make future names consistent and handle falsy values in jQuery generated methods properly</title>
<updated>2010-11-02T18:20:41+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-11-01T23:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=56a3d52f45ceae7973999ab8351a090f3ffddbba'/>
<id>56a3d52f45ceae7973999ab8351a090f3ffddbba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert performance optimization of using setTimeout in SpecRunner every 10 steps. Breaks loading partials</title>
<updated>2010-10-27T20:41:31+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-10-27T20:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2da1de5a6da0cedf490c54509487c27ba018585a'/>
<id>2da1de5a6da0cedf490c54509487c27ba018585a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Lots of bug fixes in the scenario runner and a bunch of new features.</title>
<updated>2010-10-26T22:17:57+00:00</updated>
<author>
<name>Elliott Sprehn</name>
</author>
<published>2010-10-24T21:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=40d7e66f408eaaa66efd8d7934ab2eb3324236a1'/>
<id>40d7e66f408eaaa66efd8d7934ab2eb3324236a1</id>
<content type='text'>
- By default the runner now creates multiple output formats as it runs. Nodes are created in the DOM with ids: json, xml, and html.

ex. $('#json').html() =&gt; json output of the runner
ex. $('#xml').html() =&gt; json output of the runner

$result is also an object tree result.

The permitted formats are html,json,xml,object.

If you don't want certain formats you can select specific ones with the new ng:scenario-output attribute on the script tag.

&lt;script src="angular-scenario.js" ng:scenario-output="xml,json"&gt;

- Added element(...).count() that returns the number of matching elements for the selector.

- repeater(...).count() now returns 0 if no elements matched which can be used to check if a repeater is empty.

- Added toBe() matcher that does strict equality with ===

- Implement iit and ddescribe. If iit() is used instead of it() then only that test will run. If ddescribe() is used instead of describe() them only it() statements inside of it will run. Several iit/ddescribe() blocks can be used to run isolated tests.

- Implement new event based model for SpecRunner. You can now listen for events in the runner. This is useful for writing your own UI or connecting a remote process (ex. WebDriver). Event callbacks execute on the Runner instance.

Events, if fired, will always be in the below order. All events always happen
except for Failure and Error events which only happen in error conditions.

Events:
  RunnerBegin
  SpecBegin(spec)
  StepBegin(spec, step)
  StepError(spec, step, error)
  StepFailure(spec, step, error)
  StepEnd(spec, step)
  SpecError(spec, step, error)
  SpecEnd(spec)
  RunnerEnd

- Only allow the browser to repaint every 10 steps. Cuts 700ms off Firefox in benchmark, 200ms off Chrome.

- Bug Fix: Manually navigate anchors on click since trigger wont work in Firefox.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- By default the runner now creates multiple output formats as it runs. Nodes are created in the DOM with ids: json, xml, and html.

ex. $('#json').html() =&gt; json output of the runner
ex. $('#xml').html() =&gt; json output of the runner

$result is also an object tree result.

The permitted formats are html,json,xml,object.

If you don't want certain formats you can select specific ones with the new ng:scenario-output attribute on the script tag.

&lt;script src="angular-scenario.js" ng:scenario-output="xml,json"&gt;

- Added element(...).count() that returns the number of matching elements for the selector.

- repeater(...).count() now returns 0 if no elements matched which can be used to check if a repeater is empty.

- Added toBe() matcher that does strict equality with ===

- Implement iit and ddescribe. If iit() is used instead of it() then only that test will run. If ddescribe() is used instead of describe() them only it() statements inside of it will run. Several iit/ddescribe() blocks can be used to run isolated tests.

- Implement new event based model for SpecRunner. You can now listen for events in the runner. This is useful for writing your own UI or connecting a remote process (ex. WebDriver). Event callbacks execute on the Runner instance.

Events, if fired, will always be in the below order. All events always happen
except for Failure and Error events which only happen in error conditions.

Events:
  RunnerBegin
  SpecBegin(spec)
  StepBegin(spec, step)
  StepError(spec, step, error)
  StepFailure(spec, step, error)
  StepEnd(spec, step)
  SpecError(spec, step, error)
  SpecEnd(spec)
  RunnerEnd

- Only allow the browser to repaint every 10 steps. Cuts 700ms off Firefox in benchmark, 200ms off Chrome.

- Bug Fix: Manually navigate anchors on click since trigger wont work in Firefox.
</pre>
</div>
</content>
</entry>
</feed>
