Skip to content

Instantly share code, notes, and snippets.

@fronteer-kr
Last active August 29, 2015 14:03
Show Gist options
  • Save fronteer-kr/71b357779e738e71ec6f to your computer and use it in GitHub Desktop.
Save fronteer-kr/71b357779e738e71ec6f to your computer and use it in GitHub Desktop.
var PLUGIN_NS = "metaFileList",
defaults = {
basename : "file",
auth : {},
bid : 0,
template : { list: '' },
ajax : {
_r : { url: '', upload_gid: '' }, // 목록
_d : { url: '' } // 삭제처리
},
download : { url: '' },
deletable : false,
autoList : true,
dummy : "dummy"
};
//-------------------------------------------------------------------------
Plugin.prototype = {
_init: function (options) {},
destroy: function() {),
list: function() {},
download: function(btn) {},
deleteX: function(btn) {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment