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 authored and Maxime Thirouin committed 2016-09-27 07:07:28 +02:00
1 parent 917c6f6bcb
commit acdd87ef3d
1 file changed
+1 -1
+1 -1
View File
@@ -249,7 +249,7 @@ with or without [WOW.js](https://github.com/matthieua/WOW).
new Pjax({
selectors: ["title", ".js-Pjax"],
switches: {
".js-Pjax": Pjax.switches.sideBySide
".js-Pjax": require("pjax/lib/switches.js").sideBySide
},
switchesOptions: {
".js-Pjax": {