   
   if @mode is 'production'
     src = (@cdnUrl ? @_assetsDir) + '/' + pkg + '.css'
-    src += '.cgz' if @acceptsGzip
+    src += '.cgz' if @gzip
     return "<link href='#{src}' rel='stylesheet' type='text/css'>"
   
   output = ''

# @param {String} pkg The name of the package to output
# @return {String} Script tag pointing to the ouput JST script file

module.exports.jst = (pkg, gzip = @gzip) =>
  throw new Error "Cannot find package '#{pkg}'" unless @assets.jst[pkg]?
  
  if @mode is 'production'
    src = (@cdnUrl ? @_assetsDir) + '/' + pkg + '.jst.js'
    src += '.jgz' if gzip
    return "<script src='#{src}' type='text/javascript'></script>"
  
  unless @usingMiddleware

  
  if @mode is 'production'
    src = (@cdnUrl ? @_assetsDir) + '/' + pkg + '.js'
    src += '.jgz' if @gzip
    return "<script src='#{src}' type='text/javascript'></script>"
  
  output = ''
