Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

Commit

Permalink
passed in filename to jade so includes will work
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallen23 committed Mar 6, 2012
1 parent 95693d7 commit bf35a90
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/clientjade
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var compile = require('../lib/compile');


program
.version('0.0.2')
.version('0.0.3')
.option('-c, --compress', 'Compress output')
.usage('<options> <jade files>');

Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ You can check out a live example [here](/example/)

##History

###0.0.3
- passed in filename so jade includes will work

###0.0.2
- fixed npm bin

Expand Down
1 change: 1 addition & 0 deletions lib/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ var uglifyJs = require('uglify-js');

var jadeCompile = function(file, str) {
var f = jade.compile(str, {
filename: file,
client: true,
compileDebug: false
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "clientjade",
"description": "a command line utility to generate compiled jade templates for the browser",
"version": "0.0.2",
"version": "0.0.3",
"preferGlobal": "true",
"homepage": "https://github.com/jgallen23/clientjade",
"author": "Greg Allen <@jgaui> (http://jga.me)",
Expand Down

0 comments on commit bf35a90

Please sign in to comment.