removed some lines of code with no effect on functionality...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-27 22:47:22 +04:00
parent a247943ef5
commit 7a8c71c9e0

View File

@ -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