Skip to content

Commit

Permalink
Merge pull request #13 from Sharian/Fix_DeprecatedClientOption
Browse files Browse the repository at this point in the history
Fixes deprecation of client option
  • Loading branch information
niftylettuce committed May 5, 2015
2 parents 690887a + ea91f02 commit 50f0c60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/jade-amd
Expand Up @@ -33,7 +33,6 @@ if (program.runtime) {

// jade options
var options = {
client: true,
compileDebug: false,
pretty: program.pretty,
jadeRuntime: program.jadeRuntime
Expand Down Expand Up @@ -70,7 +69,7 @@ function renderFile(fromPath, toPath) {
}

options.filename = fromPath;
var fn = jade.compile(str, options);
var fn = jade.compileClient(str, options);
var dir = path.resolve(path.dirname(toPath));

mkdirp(dir, 0755, function (err) {
Expand Down

0 comments on commit 50f0c60

Please sign in to comment.