mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
white space cleanup
This commit is contained in:
parent
b9cb79e30d
commit
6fce08bc7d
13 changed files with 1263 additions and 1273 deletions
28
Gruntfile.js
28
Gruntfile.js
|
@ -2,12 +2,12 @@ module.exports = function(grunt) {
|
|||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: '<json:package.json>',
|
||||
meta: {
|
||||
pkg: '<json:package.json>',
|
||||
meta: {
|
||||
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
|
||||
'<%= grunt.template.today("yyyy-mm-dd") %> */'
|
||||
},
|
||||
concat : {
|
||||
'<%= grunt.template.today("yyyy-mm-dd") %> */'
|
||||
},
|
||||
concat : {
|
||||
'build/epub.js': ['<banner>', 'libs/rsvp/rsvp.js', 'src/*.js'],
|
||||
'build/reader.js': ['<banner>', 'reader/*.js'],
|
||||
'build/hooks.js': ['<banner>', 'hooks/default/*.js'],
|
||||
|
@ -15,13 +15,13 @@ module.exports = function(grunt) {
|
|||
'demo/js/libs/loader_filesystem.min.js': 'libs/fileStorage/workers/loader_filesystem.min.js',
|
||||
'demo/js/libs/jquery-1.9.0.min.js': 'libs/jquery/jquery-1.9.0.min.js',
|
||||
'demo/js/libs/inflate.js': 'libs/zip/inflate.js'
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
preserveComments: 'some'
|
||||
},
|
||||
my_target: {
|
||||
files: {
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
preserveComments: 'some'
|
||||
},
|
||||
my_target: {
|
||||
files: {
|
||||
'demo/js/epub.min.js': ['libs/underscore/underscore-min.js', 'build/epub.js'],
|
||||
'build/epub.min.js': ['libs/underscore/underscore-min.js', 'build/epub.js'],
|
||||
'demo/js/reader.min.js': ['build/reader.js'],
|
||||
|
@ -32,8 +32,8 @@ module.exports = function(grunt) {
|
|||
'build/libs/zip.min.js': ['libs/zip/zip.js', 'libs/zip/zip-fs.js', 'libs/zip/zip-ext.js', 'libs/zip/mime-types.js'],
|
||||
'build/libs/inflate.js': ['libs/zip/inflate.js']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue