No description
Find a file
Elliott Sprehn e7e894a2e3 Significantly clean up the way the scenario DSL works and implement many more DSL statements.
- "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! :)
2010-10-19 00:45:38 -07:00
.externalToolBuilders fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
.idea twitter using resources 2010-03-16 14:38:56 -07:00
.settings clean up, fixes for app 2010-04-07 10:17:15 -07:00
css inline all images into css 2010-10-18 16:24:43 -07:00
example Fixed calculator examples 2010-10-09 23:04:09 -07:00
images inline all images into css 2010-10-18 16:24:43 -07:00
lib upgraded jasmine to 1.0.1 2010-10-17 21:13:28 -07:00
regression fixed issue where date copy creates an object instead of date 2010-10-13 12:47:10 -07:00
scenario Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
src Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
test Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
.gitignore inline all images into css 2010-10-18 16:24:43 -07:00
.project created a way to init the code without autobootstrap 2010-01-08 16:04:35 -08:00
angularjs.ftp add ftp script to auto deploy to angularjs.org 2010-08-14 11:03:36 -07:00
java ng:repeat ignores prototype keys 2010-07-09 14:45:29 -07:00
jsTestDriver-jquery.conf upgraded jasmine to 1.0.1 2010-10-17 21:13:28 -07:00
jsTestDriver.conf upgraded jasmine to 1.0.1 2010-10-17 21:13:28 -07:00
LICENSE MIT license 2010-01-05 16:57:36 -08:00
nodeserver.sh fixes to enable ie 2010-04-20 18:14:13 -07:00
Rakefile Remove externs target from the Rakefile 2010-10-18 16:24:44 -07:00
README.md readme 2010-03-15 14:41:28 -07:00
server.sh removed Meta and allowed binding of HTML 2010-04-12 14:28:15 -07:00
test.sh appease IE on CSS styles 2010-07-14 17:48:09 -07:00

Angular

Compiling

rake compile

Running Tests

rake server:start
rake test