diff --git a/magazine.js b/magazine.js index 8c50289..5b3fa51 100755 --- a/magazine.js +++ b/magazine.js @@ -27,7 +27,6 @@ var DRAG_FULL_PAGE = false togglePageDragging = createCSSClassToggler('.viewer', 'dragging') - // this is here only for speed, helps with dragging... // DO NOT USE DIRECTLY! var _PAGE_VIEW @@ -286,7 +285,6 @@ function setCurrentPage(n, W){ } - function goToMagazineCover(){ setCurrentPage(0) } @@ -298,7 +296,6 @@ function goToArticleCover(){ } - function nextPage(){ var pages = $('.page') var cur = $('.current.page') @@ -311,7 +308,6 @@ function prevPage(){ } - function nextArticle(){ var cur = $('.current.page').parents('.article') // we are at the magazine cover... @@ -441,7 +437,6 @@ function saveURLState(){ } - // local storage state managers... function loadStorageState(){ return parseInt($.jStorage.get('current_page', 0)) @@ -451,7 +446,6 @@ function saveStorageState(){ } - // generic state managers... function loadState(){ var n = loadURLState() @@ -565,7 +559,6 @@ function createMagazine(){ } - // XXX create article (magazine, title, position)... // - article // - cover @@ -573,7 +566,6 @@ function createArticle(magazine, title){ } - // XXX create page (article, template, position)... // - page // - content