mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
removing the unused CallNode#push
This commit is contained in:
@@ -334,12 +334,6 @@ exports.CallNode: class CallNode extends BaseNode
|
||||
@prefix: 'new '
|
||||
this
|
||||
|
||||
# Add an argument to the call's arugment list.
|
||||
push: (arg) ->
|
||||
@args.push(arg)
|
||||
@children.push(arg)
|
||||
this
|
||||
|
||||
# Compile a vanilla function call.
|
||||
compile_node: (o) ->
|
||||
return @compile_splat(o) if @args[@args.length - 1] instanceof SplatNode
|
||||
|
||||
Reference in New Issue
Block a user