From acdd87ef3dda7b2824288b1d7425ec8d3a33863d Mon Sep 17 00:00:00 2001 From: Dale Date: Tue, 27 Sep 2016 15:07:28 +1000 Subject: [PATCH] README: Modified switches sidebySide example so it doesn't result in a undefined Type Error. (#74) --- 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": {