Permalink
Browse files

Style change in `require` extention module.

  • Loading branch information...
1 parent 8462011 commit 1ac71419feebfaea76157513ce24dbf646b1ff02 @dervus dervus committed Feb 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/js-yaml/require.js
View
@@ -5,12 +5,12 @@ var fs = require('fs');
var loader = require('./loader');
-var yamlRequireHandler = function (module, filename) {
+function yamlRequireHandler(module, filename) {
var content = fs.readFileSync(filename, 'utf8');
// fill in documents
module.exports = loader.load(content, { filename: filename });
-};
+}
// register require extensions only if we're on node.js
// hack for browserify

0 comments on commit 1ac7141

Please sign in to comment.