#1086 CKEditor 스킨에 파일 업로드 추가

This commit is contained in:
bnu 2015-02-26 18:07:10 +09:00
parent 95154d6985
commit 8731b3cd8a
30 changed files with 5253 additions and 11 deletions

View file

@ -0,0 +1,24 @@
(function($){
"use strict";
var XeUploader = xe.createApp('XeUploader', {
init : function() {
}
});
// Shortcut function in jQuery
$.fn.uploader = function(opts) {
console.log();
var u = new XeUploader(this.eq(0), opts);
if(u) xe.registerApp(u);
return u;
};
// Shortcut function in XE
xe.createUploader = function(browseButton, opts) {
var u = new XeUploader(browseButton, opts);
if(u) xe.registerApp(u);
return u;
};
})(jQuery);