Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fronteer-kr/3a1abd1b967ea0b1277e to your computer and use it in GitHub Desktop.
Save fronteer-kr/3a1abd1b967ea0b1277e to your computer and use it in GitHub Desktop.
var PLUGIN_NS = "metaBBSList",
defaults = {
basename : "bbs",
auth : {},
mid : 0, // 게시판 id
bid : 0, // 현재 선택한 게시물 id (active bid) - View 하단 목록인 경우
theme : "basic",
ajax : {
_r : { url: '', _r: 10 }, // 목록
_r1 : { url: '' }, // 상세보기(+수정용) (1건 조회)
_c : { url: '', rules: {} }, // 등록처리
_u : { url: '', rules: {} }, // 수정처리
_d : { url: '' } // 삭제처리
},
autoList : true,
scrollPlus : 0,
dummy : "dummy"
};
//-------------------------------------------------------------------------
Plugin.prototype = {
_init: function (options) {},
destroy: function() {},
list: function(_p, _r, _s) {},
search: function(btn) {},
view: function(link) {},
iform: function(btn) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment