Exploded & tested stuff #20

Merged
MoOx merged 33 commits from testling into master 2014-10-14 01:27:04 -05:00
33 Commits
Author SHA1 Message Date
Maxime Thirouin 74e224c018 Merge wip 2014-10-14 08:24:50 +02:00
Maxime Thirouin 165532d43c Relocate all the things 2014-10-14 08:23:56 +02:00
Maxime Thirouin 414650113b Add missing switches methods (untested) 2014-10-14 08:19:44 +02:00
Maxime Thirouin a6c9b57647 Reintroduce e0d33c9e18
https://github.com/MoOx/pjax/commit/e0d33c9e18ed542cd22c5cab74ae8c061982
2e22
2014-10-14 08:16:26 +02:00
Maxime Thirouin f4e5ec254a old pjax huge file must die 2014-10-14 08:13:50 +02:00
Maxime Thirouin f1976c3a10 Remove gulp (overkill) 2014-10-14 08:11:23 +02:00
François Vaux 799dd51597 Typo 2014-10-14 08:04:22 +02:00
Maxime Thirouin 76026cf8d9 Add forEachSelectors method 2014-10-14 08:04:22 +02:00
Maxime Thirouin b6702a5ea0 Add attachLink method with test 2014-10-14 08:04:22 +02:00
Maxime Thirouin 673c483ccb Add event options as an option for the trigger function 2014-10-14 08:04:22 +02:00
Maxime Thirouin d1536eb228 Add function.bind polyfill
https://github.com/ariya/phantomjs/issues/10522
2014-10-14 08:04:22 +02:00
Maxime Thirouin 681aa74e1d Add parseDOM & (new) parseElement proto methods 2014-10-14 08:04:22 +02:00
Maxime Thirouin 3f3fa761e1 Add getElements method 2014-10-14 08:04:22 +02:00
Maxime Thirouin 0d6643cf7a Add log method 2014-10-14 08:04:22 +02:00
Maxime Thirouin 4a4fb6fbc6 Add uniqueid helper 2014-10-14 08:04:22 +02:00
Maxime Thirouin d5395c3d07 Test isSupported
kind of stupid, but I don't want to maintain a list of browser UA or
whatever.
2014-10-14 08:04:22 +02:00
Maxime Thirouin 8c05692004 Fix dispatchEvent for IE9/10/11
dispatchEvent doesn't work if element is not in the dom
This is not the silverbullet since an element can have a parent that is
not in the dom too, but to avoid dom update all the time, it should be
enough for very particular use cases (eg in my case unit test).
Maybe this should be moved into the test directly to be sure there is a
parent, we will see that later.
2014-10-14 08:04:21 +02:00
Maxime Thirouin 13b3485111 add npm run test--html for debugging 2014-10-14 08:04:21 +02:00
Maxime Thirouin b1de220555 Drop fireEvent since we are supporting IE10 2014-10-14 08:03:43 +02:00
Maxime Thirouin b4f7aceab6 history is not available before IE10
http://caniuse.com/history
2014-10-14 08:03:43 +02:00
Maxime Thirouin 1cc1aa9d04 bye README gif 2014-10-14 08:03:43 +02:00
Maxime Thirouin 52d7971dc5 Test xhr request 2014-10-14 08:03:43 +02:00
Maxime Thirouin 9ac709b5d8 Test forEachEls 2014-10-14 08:03:43 +02:00
Maxime Thirouin fa27e05606 Test executeScripts 2014-10-14 08:03:43 +02:00
Maxime Thirouin 106b14b851 Tests events (on, off, trigger) 2014-10-14 08:03:42 +02:00
Maxime Thirouin 2990f93a20 Test evalScript 2014-10-14 08:03:42 +02:00
Maxime Thirouin 5644893c59 Run testling on less browsers 2014-10-14 08:03:42 +02:00
Maxime Thirouin 7631cc92c7 Test clone method 2014-10-14 08:03:42 +02:00
Maxime Thirouin 25a725c858 ignore dist/ 2014-10-14 08:03:42 +02:00
Maxime Thirouin f93efb0c00 Add Gulp tasks 2014-10-14 08:03:42 +02:00
Maxime Thirouin cac43b7c59 Add coverage command 2014-10-14 08:03:42 +02:00
Maxime Thirouin dd590bae28 Setup testling 2014-10-14 08:00:10 +02:00
Maxime Thirouin 48376db0ef Update workflow/conventions/tools 2014-10-14 07:56:42 +02:00