Skip to content

Commit

Permalink
Some minor cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Dec 13, 2013
1 parent e813f8a commit c1c0b02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cachr.plugin.coffee
Expand Up @@ -115,14 +115,14 @@ module.exports = (BasePlugin) ->

# Render Before
# Map the templateData functions
renderBefore: ({templateData}, next) ->
renderBefore: (opts, next) ->
# Prepare
cachr = @
@urlsToCache = {}
@urlsToCacheLength = 0

# Apply
templateData.cachr = (sourceUrl) ->
opts.templateData.cachr = (sourceUrl) ->
return cachr.queueRemoteUrlSync(sourceUrl)

# Next
Expand All @@ -134,7 +134,7 @@ module.exports = (BasePlugin) ->

# Write After
# Store all our files to be cached
writeAfter: ({templateData}, next) ->
writeAfter: (opts, next) ->
# Prepare
cachr = @
docpad = @docpad
Expand Down

0 comments on commit c1c0b02

Please sign in to comment.