diff --git a/jsonic-head.js b/jsonic-head.js index 8697064..ded06b1 100644 --- a/jsonic-head.js +++ b/jsonic-head.js @@ -6,7 +6,7 @@ TODO: if number fails, assume it's just a string, might be an identifier of some */ ;(function() { - var root = this + var root = this || {} var previous_jsonic = root.jsonic var has_require = typeof require !== 'undefined'