Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fronteer-kr/cedc2c91006a1c822e09 to your computer and use it in GitHub Desktop.
Save fronteer-kr/cedc2c91006a1c822e09 to your computer and use it in GitHub Desktop.
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