angular.js/test/scenario
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
..
e2e feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
output feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
ApplicationSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
DescribeSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
dslSpec.js fix(scenario): do not navigate if click event was cancelled 2011-09-08 23:00:59 +02:00
FutureSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
matchersSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
mocks.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
ObjectModelSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
RunnerSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
SpecRunnerSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00