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:
parent
9d6d16683c
commit
3a21665e80
10 changed files with 167 additions and 476 deletions
17
gulpfile.js
17
gulpfile.js
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue