README: Modified switches sidebySide example so it doesn't result in a undefined Type Error. (#74)
This commit was merged in pull request #74.
This commit is contained in:
@@ -249,7 +249,7 @@ with or without [WOW.js](https://github.com/matthieua/WOW).
|
|||||||
new Pjax({
|
new Pjax({
|
||||||
selectors: ["title", ".js-Pjax"],
|
selectors: ["title", ".js-Pjax"],
|
||||||
switches: {
|
switches: {
|
||||||
".js-Pjax": Pjax.switches.sideBySide
|
".js-Pjax": require("pjax/lib/switches.js").sideBySide
|
||||||
},
|
},
|
||||||
switchesOptions: {
|
switchesOptions: {
|
||||||
".js-Pjax": {
|
".js-Pjax": {
|
||||||
|
|||||||
Reference in New Issue
Block a user