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 18:04] admin |
ctd:slides:timematrix:01 [2018/12/13 18:09] admin |
||
---|---|---|---|
Line 14: | Line 14: | ||
// comments[] 가 선언 되어 있으면 comment items list 를 등록 한다. | // comments[] 가 선언 되어 있으면 comment items list 를 등록 한다. | ||
try { // statements to try | try { // statements to try | ||
- | if(isAdmin) | + | comments[0] = items; // released |
- | comments[0] = items; | + | |
- | else | + | |
- | comments[0] = undefined; // not yet released | + | |
} | } | ||
catch (e) { | catch (e) { |