/**
 *  class JadeEngine
 *
 *  Engine for the Jade template language. You will need `jade` Node modules
 *  installed in order to use [[Mincer]] with `*.jade` files:
 *
 *     npm install jade
 *
 *  This is a "backend" engine of [[JstEngine]].
 *
 *  **NOTICE** Generated functions require you to have `jade` client runtime to
 *  be required:
 *
 *  ``` javascript
 *  //= require jade-runtime
 *  //= require templates/hello
 *  ```
 *
 *
 *  ##### SUBCLASS OF
 *
 *  [[Template]]
 **/


'use strict';


// 3rd-party
var _ = require('underscore');
var Jade;   // initialized later


// internal
var Template  = require('../template');
var prop      = require('../common').prop;


////////////////////////////////////////////////////////////////////////////////


// Class constructor
var JadeEngine = module.exports = function JadeEngine() {
  Template.apply(this, arguments);
};


require('util').inherits(JadeEngine, Template);


// Check whenever coffee-script module is loaded
JadeEngine.prototype.isInitialized = function () {
  return !!Jade;
};


// Autoload coffee-script library
JadeEngine.prototype.initializeEngine = function () {
  Jade = this.require('jade');
};


// Internal (private) options storage
var options = {};


/**
 *  JadeEngine.setOptions(value) -> Void
 *  - value (Object):
 *
 *  Allows to set Jade compilation options.
 *  See Jade compilation options for details.
 *
 *  Default: `{}`.
 *
 *
 *  ##### Example
 *
 *      JadeEngine.setOptions({self: true});
 **/
JadeEngine.setOptions = function (value) {
  options = _.clone(value);
};


// Render data
JadeEngine.prototype.evaluate = function (context, locals, callback) {
  try {
    var result = Jade.compile(this.data, _.extend({}, options, {
      client:   true,
      filename: context.pathname
    }));

    callback(null, result.toString());
  } catch (err) {
    callback(err);
  }
};

@@ -947,29 +947,20 @@
 henever 
-coffee-script
+jade
  module 
@@ -1058,21 +1058,12 @@
 oad 
-coffee-script
+jade
  lib

Fix code comment