Commit 40a5f5a1 authored by Ronny's avatar Ronny

目录结构改变,grunt调整

parent 88a1e04b
...@@ -20,7 +20,7 @@ module.exports = function ( grunt ) { ...@@ -20,7 +20,7 @@ module.exports = function ( grunt ) {
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n' + ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n' +
' * ====================================================\n' + ' * ====================================================\n' +
' */\n\n', ' */\n\n',
buildPath = 'dev/import.php', buildPath = 'import.js',
distPath = 'dist/'; distPath = 'dist/';
var getPath = function ( readFile ) { var getPath = function ( readFile ) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* 开发版本的文件导入 * 开发版本的文件导入
*/ */
(function (){ (function (){
var paths = [ var paths = new Array(
'core/kityminder.js' 'core/kityminder.js'
,'core/utils.js' ,'core/utils.js'
,'core/command.js' ,'core/command.js'
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
,'protocal/json.js' ,'protocal/json.js'
,'protocal/png.js' ,'protocal/png.js'
,'protocal/svg.js' ,'protocal/svg.js'
], ),
baseURL = 'src/'; baseURL = 'src/';
for (var i=0,pi;pi = paths[i++];) { for (var i=0,pi;pi = paths[i++];) {
document.write('<script type="text/javascript" src="'+ baseURL + pi +'"></script>'); document.write('<script type="text/javascript" src="'+ baseURL + pi +'"></script>');
......
Subproject commit cb261f4cedd745233d9e022a72f76ddf8d8e129b Subproject commit e144ccd9270712497804915d13ec92f6593299b0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment