后台编辑器整合highlight.js

整合效果,看看一段TypeScript代码:

const {ccclass, property} = cc._decorator;

@ccclass
export default class AMenu extends cc.Component {

@property(cc.Node)
btnLogout:cc.Node = null;

@property(cc.Node)
btnRetPwd:cc.Node = null;

// LIFE-CYCLE CALLBACKS:

// onLoad () {}

start () {

// this.btnLogout.on
}

// update (dt) {}
}