Update README.md

Modified switches sidebySide example so it doesn't result in a undefined Type Error.
This commit is contained in:
Dale authored and GitHub committed 2016-09-27 12:33:03 +10:00
1 parent 917c6f6bcb
commit 7324b9d77d
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({ 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": {