Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The ability to include the ‘emails’ resource in a browser

  • Loading branch information...
commit 9a4d94464d13be005743e2509f2f5521faa8421b 1 parent 9f11fdd
František Hába authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 tests/resources/emails.js
8 tests/resources/emails.js
View
@@ -1,4 +1,4 @@
-module.exports = [
+var emails = [
'info',
'myEmail',
'myEmail+notifications',
@@ -6,4 +6,8 @@ module.exports = [
'my_email',
'my-email',
'my.email.my.email'
-];
+];
+
+if (typeof module !== 'undefined' && module.exports) {
+ module.exports = emails;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.