loadUrl enhancements

- Make `options` parameter optional
- Allow partial overriding of instance options when calling `loadUrl` directly
- Make `requestOptions` optional
- Document `loadUrl` usage and provide examples
This commit is contained in:
Robin North
2018-03-04 16:00:55 +00:00
parent f98f2dd63b
commit aa615b4d6c
15 changed files with 148 additions and 62 deletions

View File

@@ -1,5 +1,5 @@
var on = require("../events/on")
var clone = require("../clone")
var clone = require("../util/clone")
var attrClick = "data-pjax-click-state"