var UIHelper = require("UIHelper"); cc.Class({ extends: cc.Component, properties: { }, // LIFE-CYCLE CALLBACKS: onLoad: function() { this.initView(); }, initView: function() { }, initButtonHandler: function(btn) { UIHelper.addButtonListener(btn, this.node, "CachetaSetting", "onBtnClicked"); }, onBtnClicked: function(event) { }, });