代码拉取完成,页面将自动刷新
同步操作将从 电霸儿/juggle 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = function (grunt) {
// 项目配置
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
separator: '\n\r'
},
dist: {
src: [
'juggle-help/src/Tools.js',//无依赖
'juggle-event/src/Event.js',//依赖juggle-help
'juggle-event/src/EventPool.js',//依赖Event
'juggle-event/src/EventDispatcher.js',//依赖juggle-help,EventPool
'juggle-juggler/src/JugglerEventType.js',//无依赖
'juggle-juggler/src/Juggler.js',//依赖JugglerEventType,juggle-help
'juggle-juggler/src/JugglerManager.js',//依赖Juggler
'juggle-tween/src/Transitions.js',//无依赖
'juggle-tween/src/Tween.js',//依赖juggle-help,juggle-event,juggle-juggler,transitions
'juggle-tween/src/TweenPool.js',//依赖Tween,juggle-help
'juggle-delayedcall/src/DelayedCall.js',//依赖juggle-help,juggle-event,juggle-juggler
'juggle-delayedcall/src/DelayedCallPool.js',//DelayedCall,juggle-help
'juggle-websocket/src/WebSocketEventType.js',//无依赖
'juggle-websocket/src/WebSocketConfig.js',//无依赖
'juggle-websocket/src/WebSocketClient.js',//依赖WebSocketEventType,WebSocketConfig,juggle-event
'juggle-http/src/HttpEventType.js',//无依赖
'juggle-http/src/HttpClient.js',//依赖httpEventType,juggle-event
'juggle-resource/src/ResourceEventType.js',//无依赖
'juggle-resource/src/Loader.js',//resourceEventType,juggle-http,juggle-event
'juggle-resource/src/ResourceManager.js',//依赖resourceEventType,Loader
'juggle-mv/src/ViewManager.js',//无依赖
'juggle-module/src/ModuleManager.js'//依赖juggle-resource
],
dest: 'dist/<%= pkg.name %>.js'
}
},
uglify: {
build: {
src: 'dist/<%= pkg.name %>.js',
dest: 'dist/<%= pkg.name %>.min.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
// 默认任务
grunt.registerTask('default', ['concat', 'uglify']);
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。