Sha256: 2375fabe40d06d9c536d45ba3d4583414c7c4e9bc997504da16c9af81faa7d1a
Contents?: true
Size: 899 Bytes
Versions: 2
Compression:
Stored size: 899 Bytes
Contents
var store = null; $(function() { $(document).on("dragstart", "a, img", false); $("#wrapper").twoup("none"); $("#page-back").click(function(e) { e.stopPropagation(); $.twoup.page(-1, true); }); $("#page-back-10").click(function(e) { e.stopPropagation(); $.twoup.page(-10, true); }); $("#page-next").click(function(e) { e.stopPropagation(); $.twoup.page(1, true); }); $("#page-next-10").click(function(e) { e.stopPropagation(); $.twoup.page(10, true); }); $("#page-home").click(function(e) { e.stopPropagation(); location.hash = lastControllerLocation; }); $.getJSON("data.json").done(function(data) { if(data.length == 0) alert("No data.json, or data invalid."); store = data; window.router = new router(); router.init(); if(location.hash == "#" || location.hash == "") location.hash = "#index!1"; }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
storys-0.0.5 | app/js/app.js |
storys-0.0.4 | app/js/app.js |