Created
July 3, 2014 08:09
-
-
Save fronteer-kr/cedc2c91006a1c822e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PLUGIN_NS = "metaApp", | |
defaults = { | |
basename : "hello", | |
template : { list: '', view: '', form: '' }, | |
ajax : { | |
_r : { url: '', _r: 10 }, // 목록 | |
_r1 : { url: '' }, // 상세보기(+수정용) (1건 조회) | |
_c : { url: '', rules: {} }, // 등록처리 | |
_u : { url: '', rules: {} }, // 수정처리 | |
_d : { url: '' } // 삭제처리 | |
}, | |
autoList : true, | |
dummy : "dummy" | |
}; | |
//---------------------------------------------------------------- | |
Plugin.prototype = { | |
_init: function (options) { }, | |
destroy: function() {}, | |
list: function(_p, _r, _s) {} | |
search: function(btn) {}, | |
view: function(btn) {}, | |
iform: function(btn) {}, | |
uform: function(btn) {}, | |
insert: function(btn) {}, | |
save: function(btn) {}, | |
cancel: function(btn) {}, | |
deleteX: function(btn) {} | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment