Skip to content

Commit

Permalink
Removing unnecessary whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsomeoddpilot committed May 21, 2015
1 parent 326e35d commit 4a5a329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/consolidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ exports.htmling.render = function(str, options, fn) {
*/
function requireReact(module, filename) {
var tools = requires.reactTools || (requires.reactTools = require('react-tools'));

var content = fs.readFileSync(filename, 'utf8');
var compiled = tools.transform(content, {harmony: true});

Expand Down Expand Up @@ -1060,7 +1060,7 @@ function reactRenderer(type){
// Parsing
Code = (type === 'path') ? require(resolve(str)) : requireReactString(str);
Factory = cache(options, engine.createFactory(Code));

} else {
Factory = cache(options);
}
Expand Down

0 comments on commit 4a5a329

Please sign in to comment.