This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ctd:slides:timematrix:01 [2018/12/13 15:27] admin |
ctd:slides:timematrix:01 [2018/12/13 18:07] admin |
||
---|---|---|---|
Line 14: | Line 14: | ||
// comments[] 가 선언 되어 있으면 comment items list 를 등록 한다. | // comments[] 가 선언 되어 있으면 comment items list 를 등록 한다. | ||
try { // statements to try | try { // statements to try | ||
- | comments[0] = items; | + | if(isAdmin) |
+ | comments[0] = items; | ||
+ | else | ||
+ | comments[0] = items; // released | ||
} | } | ||
catch (e) { | catch (e) { |