From a0633dac08d5378d3ae721c5a504f52f9e399d49 Mon Sep 17 00:00:00 2001 From: Radek Slupik Date: Tue, 8 Jan 2013 14:12:08 +0100 Subject: [PATCH] Do not ignore casing when requiring files The original version did not work on case-sensitive file systems, because align.js was required as ./Align. --- lib/format.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/format.js b/lib/format.js index c2753fb..e5965d3 100644 --- a/lib/format.js +++ b/lib/format.js @@ -1,5 +1,5 @@ var Utils = require("./rtf-utils"), - Align = require("./Align"), + Align = require("./align"), Fonts = require("./fonts"); module.exports = Format = function(){ @@ -115,4 +115,4 @@ Format.prototype.formatText = function(text, colorTable, fontTable, safeText){ rtf+="}"; return rtf; -}; \ No newline at end of file +};