@@ -64,7 +64,7 @@ module.exports = function(grunt) {
64
64
'});'
65
65
] . join ( '\n' )
66
66
} ,
67
- filename : 'seajs /editor.js'
67
+ filename : 'cmd /editor.js'
68
68
} ,
69
69
window : {
70
70
filename : 'js/editor.js'
@@ -92,7 +92,7 @@ module.exports = function(grunt) {
92
92
grunt . file . write ( 'build/' + this . data . filename , data ) ;
93
93
} ) ;
94
94
95
- grunt . registerTask ( 'utils ' , function ( ) {
95
+ grunt . registerTask ( 'copy ' , function ( ) {
96
96
var dir = 'icomoon/fonts' ;
97
97
grunt . file . recurse ( dir , function ( fpath ) {
98
98
var fname = path . relative ( dir , fpath ) ;
@@ -102,7 +102,7 @@ module.exports = function(grunt) {
102
102
data += grunt . file . read ( 'src/paper.css' ) ;
103
103
data += grunt . file . read ( 'src/editor.css' ) ;
104
104
grunt . file . write ( 'build/css/editor.css' , data ) ;
105
- grunt . file . copy ( 'index .html' , 'build/index .html' ) ;
105
+ grunt . file . copy ( 'docs/demo .html' , 'build/demo .html' ) ;
106
106
} ) ;
107
107
108
108
grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
@@ -114,5 +114,5 @@ module.exports = function(grunt) {
114
114
115
115
grunt . registerTask ( 'server' , [ 'livereload-start' , 'connect' , 'regarde' ] ) ;
116
116
117
- grunt . registerTask ( 'transport' , [ 'concat' , 'generate' , 'utils ' ] ) ;
117
+ grunt . registerTask ( 'transport' , [ 'concat' , 'generate' , 'copy ' ] ) ;
118
118
} ;
0 commit comments