Permalink
Browse files

add .raise() to proxy

  • Loading branch information...
1 parent 017cc33 commit d761dccc250f1de83be0375bcecd31715eb2a496 @eldargab committed Sep 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/app.js
View
@@ -165,7 +165,7 @@ function Proxy (app, prefix) {
}
})
-;['def', 'onerror', 'eval'].forEach(function (meth) {
+;['def', 'onerror', 'eval', 'raise'].forEach(function (meth) {
Proxy.prototype[meth] = function (path) {
path = resolve(this.prefix, path)
this.app[meth].apply(this.app, arguments)

0 comments on commit d761dcc

Please sign in to comment.