mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Removes console logs
This commit is contained in:
parent
b401b04893
commit
dbe464df16
1 changed files with 0 additions and 4 deletions
|
@ -225,9 +225,7 @@ module.exports = class ThangsTabView extends View
|
|||
@editThang thangID: e.thang.id
|
||||
|
||||
onRandomiseTerrain: (e) ->
|
||||
console.log e
|
||||
for thang in e.thangs
|
||||
console.log thang.id, thang.pos
|
||||
@selectAddThangType thang.id
|
||||
@addThang @addThangType, thang.pos
|
||||
|
||||
|
@ -282,7 +280,6 @@ module.exports = class ThangsTabView extends View
|
|||
@selectAddThang {target: icons[nextSelectedIndex]}
|
||||
|
||||
selectAddThangType: (type, @cloneSourceThang) ->
|
||||
console.log type
|
||||
if _.isString type
|
||||
type = _.find @supermodel.getModels(ThangType), (m) -> m.get('name') is type
|
||||
pos = @addThangSprite?.thang.pos # Maintain old sprite's pos if we have it
|
||||
|
@ -400,7 +397,6 @@ module.exports = class ThangsTabView extends View
|
|||
@editThang thangID: id if id
|
||||
|
||||
addThang: (thangType, pos) ->
|
||||
console.log thangType, pos
|
||||
thangID = Thang.nextID(thangType.get('name'), @world) until thangID and not @thangsTreema.get "id=#{thangID}"
|
||||
if @cloneSourceThang
|
||||
components = _.cloneDeep @thangsTreema.get "id=#{@cloneSourceThang.id}/components"
|
||||
|
|
Loading…
Reference in a new issue