Skip to content


Subversion checkout URL

You can clone with
Download ZIP


coffeescript/ch6 : "package" is a reserved keyword. #48

creatorrr opened this Issue · 1 comment

1 participant


There's a minor typo in the Applications chapter of The Little Book on Coffeescript. In the part where we boot stitch up, a variable in the code is named package which seems to be a reserved keyword.

CoffeeScript version 1.3.3 throws up an error on the lines of:

SyntaxError: In repl, reserved word "package" on line 6

Here's the code in question:

package = stitch.createPackage(
  # Specify the paths you want Stitch to automatically bundle up
  paths: [ __dirname + "/app" ]

  # Specify your base libraries
  dependencies: [
    # __dirname + '/lib/jquery.js'

P.s. Hats off for the great work! :)

@creatorrr creatorrr closed this

Closing with submitted patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.