Skip to content

Commit 07d3cb3

Browse files
committed
Comply to FB's style
1 parent 8f49d0b commit 07d3cb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/react/renderer.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def self.render(component, args={})
2222

2323
def self.setup_combined_js
2424
<<-CODE
25-
var global = global || this, self = self || this, window = window || this;
25+
var global = global || this;
26+
var self = self || this;
27+
var window = window || this;
2628
2729
var console = global.console || {};
2830
['error', 'log', 'info', 'warn'].forEach(function (fn) {

0 commit comments

Comments
 (0)