Skip to content

Commit

Permalink
[renderjson.js] Don't leak the renderjson global when we're browserif…
Browse files Browse the repository at this point in the history
…ied/webpacked/etc.

Closes #11
  • Loading branch information
caldwell committed Oct 5, 2016
1 parent ff006cc commit 8ff6353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
// .object.syntax ("{", "}")
// .array.syntax ("[", "]")

var module;
var module, window;
(module||{}).exports = (window||{}).renderjson = (function() {
var themetext = function(/* [class, text]+ */) {
var spans = [];
Expand Down

0 comments on commit 8ff6353

Please sign in to comment.