1
0
Fork 0
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:
Fred Chasen 2013-10-25 19:59:02 -07:00
parent b9cb79e30d
commit 6fce08bc7d
13 changed files with 1263 additions and 1273 deletions

View file

@ -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');