1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

changing a couple repetitions to DRY objects ... doesn't change the compiled output.

This commit is contained in:
Jeremy Ashkenas 2010-06-20 11:19:50 -04:00
parent d5cf339b83
commit 9aaf789c21
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ helpers.extend global, {
# and the function to run as the action itself.
task: (name, description, action) ->
[action, description]: [description, action] unless action
tasks[name]: {name: name, description: description, action: action}
tasks[name]: {name, description, action}
# Define an option that the Cakefile accepts. The parsed options hash,
# containing all of the command-line options passed, will be made available

View file

@ -159,7 +159,7 @@ parseOptions: ->
# The compile-time options to pass to the CoffeeScript compiler.
compileOptions: (source) ->
o: {source: source}
o: {source}
o['no_wrap']: options['no-wrap']
o