Permalink
Browse files

npmignore

  • Loading branch information...
1 parent 3b1f946 commit 1fad1611b3be2cfa7dd8f13e4b54f2106fc8a8f6 @lancejpollard committed Nov 10, 2011
Showing with 16 additions and 5 deletions.
  1. +11 −0 .npmignore
  2. +3 −3 README.md
  3. +2 −2 src/design.io/watcher.coffee
View
11 .npmignore
@@ -0,0 +1,11 @@
+*.coffee
+*.html
+.DS_Store
+.git*
+Cakefile
+wiki/
+examples/
+src/
+spec/
+favicon.ico
+Watchfile
View
6 README.md
@@ -69,9 +69,9 @@ watch /\.md$/ # some custom one...
``` coffeescript
designer = require("design.io").connection(app || 4181)
-app.post '/design.io/:event', (request, response) ->
- designer.emit request.params.event, request.body
- response.send request.params.event
+app.post '/design.io/:action', (request, response) ->
+ designer.emit request.params.action, request.body
+ response.send request.params.action
```
## License
View
4 src/design.io/watcher.coffee
@@ -34,7 +34,7 @@ class Watcher
}
"
- eval("(#{context})").call(new Watcher.DSL)
+ eval("(#{context})").call(new Watcher.Watchfile)
callback.call(@) if callback
@@ -164,7 +164,7 @@ class Watcher
data
- class @DSL
+ class @Watchfile
constructor: ->
Watcher._store = undefined

0 comments on commit 1fad161

Please sign in to comment.