Skip to content

Commit

Permalink
Workaround of Closure Compiler problem
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-ka committed Jan 10, 2018
1 parent b22b10d commit 341b995
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion stylis.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@
var nscopealt = ''
var nscope = ''

/**
* Workaround of Closure Compiler problem
* https://github.com/styled-components/styled-components/pull/1409
*/
var flat

/**
* Compile
*
Expand Down Expand Up @@ -204,7 +210,7 @@
var child = '' /* next buffer of characters */
var out = '' /* compiled body */
var children = '' /* compiled children */
var flat = '' /* compiled leafs */
flat = '' /* compiled leafs */
var selector /* generic selector address */
var result /* generic address */

Expand Down
Loading

0 comments on commit 341b995

Please sign in to comment.