From 9490c31c554dd636aaa6b562b921c9d3cf6f4988 Mon Sep 17 00:00:00 2001 From: Zac Witte Date: Sun, 7 Apr 2013 14:09:11 -0700 Subject: [PATCH] Update push.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit added PUSH function to global scope so it can be triggered from JS PUSH({   url: 'foo.html',   transition: 'slide-in' }); --- lib/js/push.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/js/push.js b/lib/js/push.js index e0e772d..8f7d6bf 100644 --- a/lib/js/push.js +++ b/lib/js/push.js @@ -414,5 +414,6 @@ window.addEventListener('touchend', touchend); window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); }); window.addEventListener('popstate', popstate); + window.PUSH = PUSH; }();