From eeee7c3493554fe1ddf7361ed1b5e94763523ed3 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 23 Jul 2018 23:51:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ScrollviewDemo=E9=BB=91?= =?UTF-8?q?=E5=B1=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ScrollViewDemo/assets/Script/HelloWorld.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ScrollViewDemo/assets/Script/HelloWorld.js b/ScrollViewDemo/assets/Script/HelloWorld.js index 4ee51d1..af0a1f9 100644 --- a/ScrollViewDemo/assets/Script/HelloWorld.js +++ b/ScrollViewDemo/assets/Script/HelloWorld.js @@ -11,15 +11,9 @@ cc.Class({ // use this for initialization onLoad: function () { - // this.label.string = this.text; this.horizontal.node.active = true; this.vertical.node.active = false; this.grid.node.active = false; - this.node.removeAllChildren(); - cc.instantiate(); - parseInt(); - let node= new cc.Node(); - node.setPositionX(); }, onBtnClicked(event, customData) {