Skip to content

Commit

Permalink
up devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
唐斌 committed Jul 4, 2014
1 parent ef3dec6 commit 4f54d35
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 214 deletions.
10 changes: 6 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/*!<%= pkg.name %> v<%= pkg.version %> | <%= pkg.homepage %>*/\n'
banner: '/*! <%= pkg.name %> v<%= pkg.version %> | <%= pkg.homepage %> */\n'
},
combo: {
unwrap: {
options: {
base: './src',
globalBase: './src/global_modules',
name: 'dialog',
namespace: 'window',
banner: '<%= meta.banner %>'
},
'dialog.js': {
src: './src/dialog.js',
Expand All @@ -35,8 +37,8 @@ module.exports = function (grunt) {
}
});

require('./tool/tasks/combo.js')(grunt);
grunt.loadNpmTasks('grunt-unwrap');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['combo', 'uglify']);
grunt.registerTask('default', ['unwrap', 'uglify']);

};
3 changes: 2 additions & 1 deletion css/ui-dialog.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*!
* ui-dialog.css
* Date: 2014-07-03
* (c) 2009-2013 TangBin, http://www.planeArt.cn
* https://github.com/aui/artDialog
* (c) 2009-2014 TangBin, http://www.planeArt.cn
*
* This is licensed under the GNU LGPL, version 2.1 or later.
* For details, see: http://www.gnu.org/licenses/lgpl-2.1.html
Expand Down
2 changes: 1 addition & 1 deletion dist/dialog-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4f54d35

Please sign in to comment.