Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #481. Somehow the coffeescript serverside compiler was NEVER wo…

…rking. Not sure how I missed this. Also updated to coffee-script 1.6.2
  • Loading branch information...
commit fc18e6e7223abe8bbadaf34477aa69a22971e99c 1 parent 38e05a7
@remy remy authored
Showing with 8 additions and 4 deletions.
  1. +2 −2 lib/processors/index.js
  2. +6 −2 public/js/vendor/coffee-script.js
View
4 lib/processors/index.js
@@ -2,14 +2,14 @@
var path = require('path'),
root = path.resolve(path.join(__dirname, '../../')),
jade = require('jade'),
- coffee = require(root + '/public/js/vendor/coffee-script'),
+ coffee = require(root + '/public/js/vendor/coffee-script').CoffeeScript,
markdown = require(root + '/public/js/vendor/markdown'),
less = require('less'),
stylus = require('stylus');
module.exports = {
- coffee: function (source) {
+ coffeescript: function (source) {
var renderedCode = '';
try {
renderedCode = coffee.compile(source, {
View
8 public/js/vendor/coffee-script.js
6 additions, 2 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.