angular.js/test
Vojta Jina 66dec77555 fix(scenario): do not navigate if click event was cancelled
This is jQuery incompatible hack.
But we were doing monkey patching there anyway...

`$(...).trigger('click')` returns an array of return values, so that scenario
runner knows, whether the event default action was cancelled.

Without this fix, scenario runner was doing navigation even if JS code called
`event.preventDefault()`.

Note, this does not work in FF6
2011-09-08 23:00:59 +02:00
..
jstd-scenario-adapter feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
scenario fix(scenario): do not navigate if click event was cancelled 2011-09-08 23:00:59 +02:00
service fix($route): update $route to reflect $location changes 2011-09-08 23:00:59 +02:00
angular-mocksSpec.js break(date): remove support for 'long', 'longtime' date formats and 'z' flag 2011-08-14 23:44:21 -07:00
AngularSpec.js style(tests): correct indentation 2011-08-30 22:05:13 -07:00
ApiSpecs.js style($function): replace $function with 'function' 2011-08-06 01:54:06 -07:00
BinderSpec.js fix(ng:class): make ng:class friendly towards other code adding/removing classes 2011-09-01 16:37:08 -07:00
BrowserSpecs.js feat($browser): add $browser.baseHref() 2011-09-08 20:37:28 +02:00
CompilerSpec.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
directivesSpec.js fix(ng:class): make ng:class friendly towards other code adding/removing classes 2011-09-01 16:37:08 -07:00
FiltersSpec.js style(filter): Couple of missing spaces, semi-colons, add empty lines 2011-09-08 17:59:52 +02:00
FormattersSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
InjectorSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
jqLiteSpec.js feat(jqLite): add event.isDefaultPrevented() as jQuery 2011-09-08 20:37:28 +02:00
jquery_alias.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
jquery_remove.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
JsonSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
manual.html fixes IE related failures, and form submit event handling in ie 2010-10-26 16:33:59 -07:00
markupSpec.js fix(markup): Make special attrs such as ng:href work even without binding 2011-08-25 16:34:18 -07:00
mocks.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
ParserSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
ResourceSpec.js fix($resource): properly call error callback when resource is called with two arguments 2011-08-18 15:07:04 -04:00
sanitizerSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
ScenarioSpec.js fix($route): update $route to reflect $location changes 2011-09-08 23:00:59 +02:00
ScopeSpec.js feat(scope): add listener deregistration fn for $watch and $on 2011-09-01 15:00:22 -07:00
testabilityPatch.js feat(test): toHaveBeenCalledOnce jasmine matcher 2011-08-18 17:41:23 +02:00
ValidatorsSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
widgetsSpec.js fix($route): update $route to reflect $location changes 2011-09-08 23:00:59 +02:00