Behind The Math
c04f2dd03b
Fix lint error
2018-01-10 00:18:08 -05:00
Behind The Math
d1184aead6
Add checks for XHR redirects
...
Fixes #7
This checks for redirects by looking for the following, in sequence:
- XMLHttpRequest.responseURL
- the X-PJAX-URL header (like jquery-pjax)
- the X-XHR-Redirected-To header (like Turbolinks)
2018-01-10 00:12:53 -05:00
Maxime Thirouin
cb9c37fcb3
Use npmpub like it should since testling is gone
2018-01-09 16:02:09 -05:00
BehindTheMath
92d5e09494
Update tooling ( #99 )
...
- Update browserify, serve, and tape to the latest versions
- update the example script to reflect serve's new CLI options
- Remove the uneeded dependency on opn-cli
- Force Travis to use NPM 5.x
- Remove bower.json
2018-01-09 15:59:15 -05:00
Behind The Math
3bd101bb1d
Update JSCS to the latest version
2018-01-09 14:09:40 -05:00
Behind The Math
c0d64e41b8
Fix linting errors
2018-01-09 14:09:40 -05:00
Behind The Math
e586440964
Update JSCS includes and excludes
2018-01-09 14:09:40 -05:00
BehindTheMath
a2e6cfc0af
Fix tests ( #96 )
...
Closes #63
- Switch from testling to jsdom for browser APIs
- Switch from coverify to nyc for coverage reports
- Clean up related dead code and tooling
- Update Travis to use Node v6 and v8, since we need ES6 features for jsdom.
2018-01-08 17:21:18 -05:00
BehindTheMath
6491e32437
Add an option to set a timeout for XHR requests ( #95 )
...
Closes #24 .
2018-01-07 23:56:11 -05:00
Behind The Math
d3d5ef7a11
Pass the element that triggered Pjax to the pjax:send event
...
Closes #62 .
2017-12-21 13:06:49 -05:00
BehindTheMath
0916c74171
Merge pull request #93 from BehindTheMath/bugfix/add-switchElementsAlt
...
Add switchElementsAlt() to the default switches
Fixes #83 .
dev
2017-12-20 15:58:29 -05:00
Behind The Math
0781f820ee
Add switchElementsAlt() to the default switches
...
Fixes #83 .
2017-12-19 15:56:48 -05:00
Maxime Thirouin
a7b584c469
Add direct download link
...
Ref #57
2017-12-19 14:11:55 +01:00
Oskar
be5d58d550
Asynchronous switch functions (Make sure the DOM is parsed after switching) ( #79 )
...
* Make sure the DOM is parsed after switching
* Fix reload-link in the example
2017-12-19 13:58:22 +01:00
Bradley B Smith
1e40a0d70b
Send the X-PJAX header with request ( #80 )
...
Make it more compatible with the jQuery PJAX and lets the server choose to optimize the response. Sending the list of selectors would be nice, too.
2017-12-19 13:56:30 +01:00
BehindTheMath
75eddfcab6
Add default switches to Pjax.switches ( #92 )
...
Fixes #68 and reverts #74
2017-12-19 13:49:26 +01:00
Maxime Thirouin
352e7114b6
Bye codesponsor 😢
2017-12-04 14:53:01 +01:00
markusfluer
af57adaafb
Fixed #77 Fails on Internet Explorer
2017-11-02 13:02:17 +01:00
markusfluer
09f14fc86c
Added evaluation of remote script tags
2017-11-02 12:51:36 +01:00
markusfluer
b17457f5a2
Fixed tests for request.js
2017-09-18 14:23:44 +02:00
markusfluer
86e5a2281a
Added support do do a push-state ajax request with forms
2017-09-18 14:13:45 +02:00
Maxime Thirouin
109e78347f
Update README.md
2017-09-14 21:45:39 +02:00
Markus Flür
cb3b6b8a5d
Merge pull request #81 from CPTechnikVX/patch-1
...
Fix bug on IE11 preventing from ajax page refresh
2017-07-20 15:34:50 +02:00
CPTechnikVX
6dffeba21a
Fix bug on IE11 preventing from ajax page refresh
...
It used to be fixed a long time ago, but was perhaps merged away...
2016-11-28 15:39:14 +01:00
Dale
acdd87ef3d
README: Modified switches sidebySide example so it doesn't result in a undefined Type Error. ( #74 )
2016-09-27 07:07:28 +02:00
Maxime Thirouin
917c6f6bcb
0.2.4
0.2.4
2016-07-11 07:11:39 +02:00
Bart Nagel
b201b96a37
Polyfill XHR.responseURL so tests pass in old Safari ( #73 )
...
This property is only used in the tests. It doesn't exist in Safari 8
and before, so where it's not available this patch polyfills it,
allowing the test to continue.
2016-07-11 06:55:47 +02:00
Maxime Thirouin
eff7cfd452
Merge pull request #67 from compressed/refresh
...
Update refresh and handle attributes without values
2016-06-28 07:17:43 +02:00
Bart Nagel
7976f06043
Added: cacheBust option ( #71 )
...
* Refactor request test to allow further tests to be added
* Make cache-busting optional
Closes #70
2016-06-28 06:46:14 +02:00
Maxime Thirouin
ee530f4c0a
0.2.3 (bower)
2016-05-03 09:23:50 +02:00
Christopher Brickley
bf71894395
fix(attributes): for attributes without a value, add only the attribute
...
Some attributes, such as `itemscope` have no corresponding value. This
change allows them to still be set.
2016-04-19 12:15:39 -04:00
Christopher Brickley
beaa21fb3a
fix(refresh): use this.parseDOM for refresh
...
Fix for issue mentioned in #36
2016-04-19 12:13:14 -04:00
Maxime Thirouin
b96b0f41a7
Merge pull request #66 from christophwolff/patch-1
...
Fix bracket in switches example
2016-04-05 17:20:49 +02:00
Christoph Wolff
6e113b2d06
Fix bracket in switches example
2016-04-05 16:40:52 +02:00
Maxime Thirouin
46912e6797
More logical npm publish (testling don't like to be spawn or something)
2016-03-24 13:34:11 +01:00
Maxime Thirouin
4877bac2ae
0.2.3
0.2.3
2016-03-24 12:39:07 +01:00
Maxime Thirouin
afe0ddb6b9
Fixed: `this.reload` is now a Function
...
Closes #65
2016-03-24 12:38:15 +01:00
Maxime Thirouin
a5d36d28f8
Update README.md
2016-03-15 11:36:53 +01:00
Maxime Thirouin
7a4056fd77
Update README.md
2016-03-15 11:35:13 +01:00
Maxime Thirouin
ba6ef126c0
Internal: add "npm run release" command
...
—skip-test is used because of tesling (it does not like to be spawned
or something like that)…
2016-03-12 07:52:52 +01:00
Maxime Thirouin
01536bfbf5
0.2.2
...
Closes #55
0.2.2
2016-03-12 07:42:37 +01:00
Maxime Thirouin
722ddf2a30
Internal: simple repository url
2016-03-12 07:27:47 +01:00
Maxime Thirouin
34fc00c89d
Add standalone file back, no big deal
...
Closes #57
2016-03-12 07:27:06 +01:00
Maxime Thirouin
c02193c61b
Internal: update CHANGELOG #59
2016-03-12 07:26:26 +01:00
Maxime Thirouin
824b229158
Merge pull request #59 from coolhihi/master
...
Fixed: error when using pjax with google analytics
2016-03-12 07:09:55 +01:00
COoL
e3d0f8cc1b
fixed an error when using pjax with google analytics
2016-01-15 17:32:07 +08:00
Maxime Thirouin
8ea8ffad07
Update CHANGELOG
2016-01-05 07:42:00 +01:00
Maxime Thirouin
c12e4cdedd
Merge pull request #52 from darylteo/patch-51
...
Patch 51
2016-01-05 07:15:11 +01:00
Maxime Thirouin
546b7e309a
Merge pull request #50 from darylteo/patch-5
...
Patch 5
2016-01-05 07:14:29 +01:00
Maxime Thirouin
2f4bd760a5
Merge pull request #49 from darylteo/patch-39
...
[FIX] #39 - events on top level
2016-01-05 07:14:17 +01:00