Misko Hevery
01c7abab35
Fix browser triggering in scenario to always do native events.
...
- Also fixed angular.suffix for scenarios
- refactored click() to browserTrigger()
- Fixed Rakefile with CSS and jQuery
2010-10-19 15:56:53 -07:00
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
Igor Minar
a930e782a5
removing anchor spec and improving jqLite.trigger() method
...
- removing the last anchor spec because it can't run reliably in all browsers
- improving jqLite.trigger() method
2010-10-06 10:05:51 -07:00
Igor Minar
81052d4a62
fixed lint warnings
2010-10-04 09:00:09 -07:00
Igor Minar
0af763dcec
properly handle event's stopPropagation() and preventDefault() method in IE
2010-10-01 07:44:45 +08:00
Misko Hevery
5ddd8d9586
stringify names for better compression, remove dead functions, removed underscore.js compatibility
2010-08-18 17:26:33 -07:00
Misko Hevery
044ecb91c1
clean up for better obfuscation
2010-08-11 12:04:02 -07:00
Misko Hevery
1b768b8443
refactored $location service so that it correctly updates under all conditions
2010-07-29 12:54:13 -07:00
unknown
6bd8006edc
fix IE native mothods are not functions, and preventDefault
2010-07-27 16:53:23 -07:00
Misko Hevery
2a30a02f01
fix preventDefault for events
2010-07-27 15:54:50 -07:00
Misko Hevery
7cef4358ae
fixed build
2010-07-15 14:16:04 -07:00
Misko Hevery
17d2ced9cc
appease IE on CSS styles
2010-07-14 17:48:09 -07:00
Misko Hevery
e3e9ac8675
ng:style remembers previous style and properly resets to it
2010-07-14 17:07:23 -07:00
Misko Hevery
2a7cd9f390
fix ie bug with null and orphans elements
2010-04-26 16:49:34 -07:00
Misko Hevery
0396054b4a
fixed the way IE breaks parests on innerHTML
2010-04-22 22:44:48 -07:00
Misko Hevery
fe434307d1
tests work under jquery and without
2010-04-22 17:11:56 -07:00
Misko Hevery
2a9669e1d8
working on jQuery passing tests
2010-04-22 15:50:20 -07:00
Misko Hevery
8b29156a2d
ie6 now passes
2010-04-21 14:29:05 -07:00
Misko Hevery
e78405f6ed
more if tests pass
2010-04-21 12:50:05 -07:00
Misko Hevery
22d93e0a3b
fixes to enable ie
2010-04-20 18:14:13 -07:00
Misko Hevery
259c2bba4b
last failing ie test remaining
2010-04-19 17:02:46 -07:00
Misko Hevery
9f9bdcf3d1
lint
2010-04-19 14:41:36 -07:00
Misko Hevery
618a2b423d
ie fixes
2010-04-19 14:36:41 -07:00
Misko Hevery
8e1b670d5b
fix ie bug with .text() on jqlite
2010-04-19 12:54:39 -07:00
Misko Hevery
deb86fe357
lots of small fixes
2010-04-16 14:01:29 -07:00
Misko Hevery
2637d4e90c
removed Meta and allowed binding of HTML
2010-04-12 14:28:15 -07:00
Misko Hevery
c4ef1f2fdd
tests failing jstd to show cory
2010-04-08 13:43:40 -07:00
Misko Hevery
ee327a1f4f
few fixes to make tests pass with jquery
2010-04-06 14:04:08 -07:00
Misko Hevery
e646068586
added ng-controller directive
2010-04-05 21:26:52 -07:00
Misko Hevery
2107eafcde
added hover service
2010-04-05 20:53:33 -07:00
Misko Hevery
7a4b480206
added ng:switch widget
2010-04-05 11:46:53 -07:00
Misko Hevery
a80a61839a
injection is now working
2010-04-03 17:04:36 -07:00
Misko Hevery
35a9108500
all tests green, some dissabled
2010-03-31 13:57:25 -07:00
Misko Hevery
e55c97deba
dissabled a lot of tests, and made the core test set pass.
2010-03-29 20:25:42 -07:00
Misko Hevery
258ca5f165
moved all uneeded files out, widgets.html works, tests horribly broken
2010-03-26 16:27:18 -07:00
Misko Hevery
b814c79b58
checkbox and radio now working
2010-03-25 13:01:08 -07:00
Misko Hevery
f29f6a47c4
fixed .value vs attr(value) access
2010-03-24 16:47:11 -07:00
Misko Hevery
0c42eb9909
input[type=text] now works with binding, validation, formatter, required
2010-03-24 16:13:42 -07:00
Misko Hevery
bb98ae14f2
markup now wroks, some refactorings
2010-03-23 14:57:11 -07:00