Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #58 from adam-lynch/node
Browse files Browse the repository at this point in the history
Fix for constructor when using with Node
  • Loading branch information
hassankhan committed Sep 22, 2014
2 parents 49e7d79 + 4a1595f commit 3fe0900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emojify.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

var emojify = (function () {
// Get DOM as local variable for simplicity's sake
var document = window.document;
var document = typeof window !== 'undefined' && window.document;

/**
* NB!
Expand Down

0 comments on commit 3fe0900

Please sign in to comment.