Update README.md

Modified switches sidebySide example so it doesn't result in a undefined Type Error.
This commit is contained in:
Dale
2016-09-27 12:33:03 +10:00
committed by GitHub
parent 917c6f6bcb
commit 7324b9d77d

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