From 858abf11033fd9d203afb961ab03ac0b855c4496 Mon Sep 17 00:00:00 2001
From: Pieter Sheth-Voss <pieter@protobi.com>
Date: Tue, 12 May 2015 09:01:24 -0400
Subject: [PATCH] Remove requirement that require, module or jquery be defined
 before using StyleBuilder

---
 bits/92_stylebuilder.js | 4 ++--
 xlsx.js                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bits/92_stylebuilder.js b/bits/92_stylebuilder.js
index 04efda1..7d0de23 100644
--- a/bits/92_stylebuilder.js
+++ b/bits/92_stylebuilder.js
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////////////////////////////
-if ((typeof 'module' != 'undefined'  && typeof require != 'undefined') || (typeof $ != 'undefined')) {
+
   var StyleBuilder = function (options) {
 
     var customNumFmtId = 164;
@@ -375,5 +375,5 @@ if ((typeof 'module' != 'undefined'  && typeof require != 'undefined') || (typeo
       }
     }.initialize(options||{});
   }
-}
+
 
diff --git a/xlsx.js b/xlsx.js
index 579b9c3..cc56ea6 100644
--- a/xlsx.js
+++ b/xlsx.js
@@ -12005,7 +12005,7 @@ var XmlNode = (function () {
   return XmlNode;
 })();
 /////////////////////////////////////////////////////////////////////////////////////////////////////
-if ((typeof 'module' != 'undefined'  && typeof require != 'undefined') || (typeof $ != 'undefined')) {
+
   var StyleBuilder = function (options) {
 
     var customNumFmtId = 164;
@@ -12381,7 +12381,7 @@ if ((typeof 'module' != 'undefined'  && typeof require != 'undefined') || (typeo
       }
     }.initialize(options||{});
   }
-}
+
 
 XLSX.parse_xlscfb = parse_xlscfb;
 XLSX.parse_zip = parse_zip;