Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jun 24, 2014
1 parent a8e5623 commit 3106f64
Show file tree
Hide file tree
Showing 6 changed files with 1,300 additions and 1,284 deletions.
24 changes: 12 additions & 12 deletions MyNovelReader/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ module.exports = function(grunt) {
dest: '<%= pkg.name %>.user.js'
}
},
// concat_sourcemap: {
// options: {
// sourcesContent: true
// },
// target: {
// files: {
// '<%= pkg.name %>.user.js': ['tmp/meta.js', 'tmp/header.js', 'tmp/rule.js', 'tmp/config.js', 'tmp/lang.js',
// 'tmp/lib.js', 'tmp/parser.js', 'tmp/UI.js', 'tmp/main.js'],
// }
// }
// },
concat_sourcemap: {
// options: {
// sourcesContent: true
// },
target: {
files: {
'<%= pkg.name %>.user.js': ['tmp/meta.js', 'tmp/header.js', 'tmp/rule.js', 'tmp/config.js', 'tmp/lang.js',
'tmp/lib.js', 'tmp/parser.js', 'tmp/UI.js', 'tmp/main.js'],
}
}
},
watch: {
files: ['src/**/*.js'],
tasks: ['default']
Expand Down Expand Up @@ -75,6 +75,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadNpmTasks('grunt-contrib-copy')
// grunt.loadNpmTasks('grunt-concat-sourcemap')
grunt.loadNpmTasks('grunt-concat-sourcemap')

}
Loading

0 comments on commit 3106f64

Please sign in to comment.