From b56b8b53c161c4026bbcaf7a70857be7ed78acbc Mon Sep 17 00:00:00 2001 From: qjack Date: Tue, 4 Dec 2012 11:57:45 +0100 Subject: [PATCH] Change buffer[] to buffer.set()/get() for it to work both in node.js and browserify --- lib/mimelib.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/mimelib.js b/lib/mimelib.js index c49ea02..bf5b900 100644 --- a/lib/mimelib.js +++ b/lib/mimelib.js @@ -188,11 +188,11 @@ module.exports.mimeFunctions = { result = ""; for(var i=0, len = buffer.length; i