Skip to content

Commit

Permalink
Only require express if an app is being used.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaek committed May 2, 2013
1 parent d89820e commit 26c085e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/express-helpers.js
@@ -1,6 +1,8 @@
var express = require('express');
module.exports = function(app) {
var helpers = {};
if (app) {
var express = require('express');
}

helpers.HTML5 = "html5";
helpers.HTML4s = "html4s";
Expand Down

0 comments on commit 26c085e

Please sign in to comment.