angular.js/src
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
..
scenario Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
angular-bootstrap.js inline all images into css 2010-10-18 16:24:43 -07:00
Angular.js inline all images into css 2010-10-18 16:24:43 -07:00
angular.prefix clean up, fixes for app 2010-04-07 10:17:15 -07:00
angular.suffix fix broken build, fix #autobind and css loading 2010-07-29 15:26:10 -07:00
AngularPublic.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
apis.js Added support for functions to $orderBy method 2010-09-26 19:43:39 +02:00
Browser.js inline all images into css 2010-10-18 16:24:43 -07:00
Compiler.js Fixed issue where compiler would pass in detached text node if previous markup would have removed it. 2010-10-12 21:52:04 -07:00
directives.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
filters.js fixing css class name for currency filter and its spec 2010-10-18 16:24:43 -07:00
formatters.js stringify names for better compression, remove dead functions, removed underscore.js compatibility 2010-08-18 17:26:33 -07:00
Injector.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
jqLite.js Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
JSON.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
markups.js Fixed issue where compiler would pass in detached text node if previous markup would have removed it. 2010-10-12 21:52:04 -07:00
Parser.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
Resource.js fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
Scope.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
services.js small fixes to the $location services 2010-10-18 22:24:44 -07:00
validators.js make date validator use the Date object 2010-09-23 13:50:10 +02:00
widgets.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00