Created
July 3, 2014 08:12
-
-
Save fronteer-kr/3a1abd1b967ea0b1277e 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 = "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