Skip to content

Commit

Permalink
update readme for new package name
Browse files Browse the repository at this point in the history
  • Loading branch information
yocontra committed Feb 7, 2012
1 parent 50712a5 commit 1fc19bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
You only need to define your macros and use register() once when your app starts

```coffee-script
macros = require 'macros'
macros = require 'macro'
macro.add 'debug', (node) ->
out = "console.log('Debug at line #{node.line}')\r\n"
out += "console.trace()"
Expand Down Expand Up @@ -56,7 +56,7 @@ console.trace();
Pass in a string of JS, get out a string of transformed JS.

```coffee-script
macros = require 'macros'
macros = require 'macro'
fs = require 'fs'
# Define your macros here

Expand All @@ -70,7 +70,7 @@ fs.writefileSync output, "coolinput.out.js"
All files loaded with require() will be passed through the macro transformer before being loaded.

```coffee-script
macros = require 'macros'
macros = require 'macro'
macros.register()
# Define your macros here
```
Expand Down

0 comments on commit 1fc19bd

Please sign in to comment.