Browse Source

add push

pull/253/head
connors 11 years ago
parent
commit
3ac06f05e5
  1. 1
      dist/ratchet.js
  2. 1
      lib/js/push.js

1
dist/ratchet.js vendored

@ -523,6 +523,7 @@
window.addEventListener('touchend', touchend); window.addEventListener('touchend', touchend);
window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); }); window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); });
window.addEventListener('popstate', popstate); window.addEventListener('popstate', popstate);
window.PUSH = PUSH;
}(); }();

1
lib/js/push.js

@ -414,5 +414,6 @@
window.addEventListener('touchend', touchend); window.addEventListener('touchend', touchend);
window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); }); window.addEventListener('click', function (e) { if (getTarget(e)) e.preventDefault(); });
window.addEventListener('popstate', popstate); window.addEventListener('popstate', popstate);
window.PUSH = PUSH;
}(); }();

Loading…
Cancel
Save