From 7324b9d77d71fe6c960d14f8d1b6f01ec98066b3 Mon Sep 17 00:00:00 2001 From: Dale Date: Tue, 27 Sep 2016 12:33:03 +1000 Subject: [PATCH] Update README.md Modified switches sidebySide example so it doesn't result in a undefined Type Error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 082ad8f..f3c54cf 100644 --- a/README.md +++ b/README.md @@ -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": {