plugins compress
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// upload attachment
|
||||
// 依赖note
|
||||
var urlPrefix = UrlPrefix;
|
||||
define('attachment_upload', ['jquery.ui.widget', 'fileupload'], function(){
|
||||
define('attachment_upload', ['fileupload'], function(){
|
||||
// Helper function that formats the file sizes
|
||||
function formatFileSize(bytes) {
|
||||
if (typeof bytes !== 'number') {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// for editor.
|
||||
// drag image to editor
|
||||
var urlPrefix = UrlPrefix; // window.location.protocol + "//" + window.location.host;
|
||||
define('editor_drop_paste', ['jquery.ui.widget', 'fileupload'], function() {
|
||||
define('editor_drop_paste', ['fileupload'], function() {
|
||||
|
||||
// 在toggle成pre或ace时
|
||||
// 最后没有元素, 或者元素不是p, 则在最后插入之
|
||||
|
File diff suppressed because one or more lines are too long
@ -9,9 +9,9 @@ requirejs.config({
|
||||
'editor_drop_paste': 'js/plugins/editor_drop_paste',
|
||||
'attachment_upload': 'js/plugins/attachment_upload',
|
||||
|
||||
'jquery.ui.widget': 'js/plugins/libs-min/jquery.ui.widget',
|
||||
'fileupload': 'js/plugins/libs-min/jquery.fileupload',
|
||||
'iframe-transport': 'js/plugins/libs-min/jquery.iframe-transport',
|
||||
// 'jquery.ui.widget': 'js/plugins/libs-min/jquery.ui.widget',
|
||||
'fileupload': 'js/plugins/libs-min/fileupload',
|
||||
// 'iframe-transport': 'js/plugins/libs-min/jquery.iframe-transport',
|
||||
|
||||
'note_info': 'js/plugins/note_info',
|
||||
'tips': 'js/plugins/tips',
|
||||
@ -19,7 +19,7 @@ requirejs.config({
|
||||
},
|
||||
shim: {
|
||||
// life
|
||||
'fileupload': {deps: ['jquery.ui.widget', 'iframe-transport']},
|
||||
// 'fileupload': {deps: ['jquery.ui.widget', 'iframe-transport']},
|
||||
}
|
||||
});
|
||||
|
||||
|
7
public/js/plugins/main.min.js
vendored
7
public/js/plugins/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user