Commit ac11f82d authored by 李维's avatar 李维

test

parent dbdd5bee
...@@ -84,7 +84,7 @@ cc.Class({ ...@@ -84,7 +84,7 @@ cc.Class({
console.log('data:', data); console.log('data:', data);
this.data = data || this.getDefaultData(); this.data = data || this.getDefaultData();
this.data = JSON.parse(JSON.stringify(this.data)) this.data = JSON.parse(JSON.stringify(this.data))
this.preloadItem(_=>{ // this.preloadItem(_=>{
// this.gameLogic = new GameLogic(this.data, { // this.gameLogic = new GameLogic(this.data, {
// designSize: this._designSize, // designSize: this._designSize,
// frameSize: this._frameSize, // frameSize: this._frameSize,
...@@ -104,7 +104,7 @@ cc.Class({ ...@@ -104,7 +104,7 @@ cc.Class({
// empty: this.empty // empty: this.empty
// } // }
// }) // })
}) // })
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment