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