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:
Dale
2016-09-27 15:07:28 +10:00
committed by Maxime Thirouin
parent 917c6f6bcb
commit acdd87ef3d

View File

@@ -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": {