Skip to content

Commit

Permalink
Merge pull request #77 from syncrypt/development
Browse files Browse the repository at this point in the history
Return dummy patchStyles function if document is not defined
  • Loading branch information
gdotdesign authored Mar 31, 2017
2 parents f3b6cfd + e778f0a commit e097cb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/Native/Styles.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
var _gdotdesign$elm_ui$Native_Styles = function() {
if(typeof document === "undefined") {
return {patchStyles: function() {}};
}

var currentStyles = {}

var setupObserver = function () {
Expand Down

0 comments on commit e097cb5

Please sign in to comment.