From 3ac06f05e541db58d72434d3e6d31af92d86fa45 Mon Sep 17 00:00:00 2001 From: connors Date: Sun, 9 Feb 2014 01:48:16 -0800 Subject: [PATCH] add push --- dist/ratchet.js | 1 + lib/js/push.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/ratchet.js b/dist/ratchet.js index 8f4ac4e..5f58815 100644 --- a/dist/ratchet.js +++ b/dist/ratchet.js @@ -523,6 +523,7 @@ window.addEventListener('touchend', touchend); window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); }); window.addEventListener('popstate', popstate); + window.PUSH = PUSH; }(); diff --git a/lib/js/push.js b/lib/js/push.js index 1535934..c783d2a 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; }();