Permalink
Browse files

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

  • Loading branch information...
1 parent 131b8e5 commit 9f11fdd2c57d5809be17856be0209ff2d6f8c03d @Baggz committed Mar 14, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 tests/resources/domains.js
@@ -1,4 +1,4 @@
-module.exports = [
+var domains = [
'.ac',
'.ad',
'.ae',
@@ -269,4 +269,8 @@ module.exports = [
'.tel',
'.travel',
'.xxx'
-];
+];
+
+if (typeof module !== 'undefined' && module.exports) {
+ module.exports = domains;
+}

0 comments on commit 9f11fdd

Please sign in to comment.