1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Cleaned up highlighting example, epubcfi ignoreClass option

This commit is contained in:
fchasen 2016-02-09 22:36:41 -05:00
parent 9d6d16683c
commit 3a21665e80
10 changed files with 167 additions and 476 deletions

View file

@ -52,7 +52,7 @@ gulp.task('minify', ['bundle'], function(){
// Watch Our Files
gulp.task('watch', function(cb) {
// gulp.watch('src/*.js', ['watchify']);
server();
bundle('epub.js', cb);
});
@ -74,6 +74,21 @@ gulp.task('test', function(cb) {
.bundle();
});
gulp.task('test:once', function(cb) {
mochify('./test/*.js', {
reporter: 'spec',
transform: 'brfs',
"web-security": false,
"webSecurityEnabled": false,
// "localUrlAccess": true,
watch: false,
wd: false,
debug: false
})
.bundle();
});
// Default
gulp.task('default', ['lint', 'bundle']);