Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed `@require`, it won't work. Need to find something else for pl…

…ugins.

#38
  • Loading branch information...
commit 554cc3f14a24a5a1aa8aa4d4d8853f35d18a859e 1 parent f5e3651
@shimaore shimaore authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/zappa.coffee
View
4 src/zappa.coffee
@@ -286,10 +286,6 @@ zappa.app = (func,options={}) ->
sub = if typeof p is 'string' then require path.join(real_root, p) else p
sub.include.apply(context, [context])
- context.require = (p,args...) ->
- sub = if p[0] is '.' then require path.join(real_root, p) else require p
- sub.plugin.apply context, [{context,route},args...]
-
apply_helpers = (ctx) ->
for name, helper of helpers
do (name, helper) ->
Please sign in to comment.
Something went wrong with that request. Please try again.