add quo to build
This commit is contained in:
commit
14564eef27
3 changed files with 11 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ build:
|
|||
@./node_modules/.bin/handlebars templates/*.handlebars -f lib/templates.js
|
||||
@echo "Compiling and minifying javascript..."
|
||||
@mkdir -p comicbook/js/pixastic
|
||||
@cat lib/vendor/pixastic/pixastic.js lib/vendor/pixastic/pixastic.effects.js lib/vendor/pixastic/pixastic.worker.js lib/vendor/handlebars.runtime-1.0.rc.1.min.js lib/templates.js lib/ComicBook.js > comicbook/js/comicbook.js
|
||||
@cat lib/vendor/pixastic/pixastic.js lib/vendor/pixastic/pixastic.effects.js lib/vendor/pixastic/pixastic.worker.js lib/vendor/handlebars.runtime-1.0.rc.1.min.js lib/vendor/quo.js lib/templates.js lib/ComicBook.js > comicbook/js/comicbook.js
|
||||
@cp lib/vendor/pixastic/pixastic.js comicbook/js/pixastic
|
||||
@cp lib/vendor/pixastic/pixastic.effects.js comicbook/js/pixastic
|
||||
@cp lib/vendor/pixastic/pixastic.worker.js comicbook/js/pixastic
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
"predef": [
|
||||
"jQuery",
|
||||
"Handlebars",
|
||||
"Pixastic"
|
||||
"Pixastic",
|
||||
"Quo"
|
||||
],
|
||||
"forin": true,
|
||||
"noarg": true,
|
||||
|
|
|
@ -99,8 +99,8 @@ var ComicBook = (function ($, $$) {
|
|||
|
||||
defaults.displayMode = 'single';
|
||||
|
||||
window.addEventListener("load",function() {
|
||||
setTimeout(function() {
|
||||
window.addEventListener('load', function () {
|
||||
setTimeout(function () {
|
||||
window.scrollTo(0, 1);
|
||||
}, 0);
|
||||
});
|
||||
|
@ -801,8 +801,12 @@ var ComicBook = (function ($, $$) {
|
|||
}
|
||||
break;
|
||||
|
||||
case 'swipeLeft': side = 'right'; break;
|
||||
case 'swipeRight': side = 'left'; break;
|
||||
case 'swipeLeft':
|
||||
side = 'right';
|
||||
break;
|
||||
case 'swipeRight':
|
||||
side = 'left';
|
||||
break;
|
||||
|
||||
default:
|
||||
throw ComicBookException.INVALID_NAVIGATION_EVENT + ' ' + e.type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue