init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
properties: {},
|
||||
start: function () {
|
||||
var e = this;
|
||||
window.tt || (this.node.active = false);
|
||||
window.KSshareCall = function (o) {
|
||||
e.showShare(o);
|
||||
};
|
||||
},
|
||||
showShare: function (e) {
|
||||
this.node.active = 1 != e;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user