Permalink
Browse files

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

  • Loading branch information...
1 parent 4a2281d commit 131b8e5c29c447a33c446f9bbfe57f32cbc46d8d @Baggz committed Mar 14, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 tests/resources/domainNames.js
@@ -1,9 +1,13 @@
-module.exports = [
+var domainNames = [
'http://www.example',
'https://www.example',
'http://example',
'https://example',
'www.example',
'www.example',
'example'
-];
+];
+
+if (typeof module !== 'undefined' && module.exports) {
+ module.exports = domainNames;
+}

0 comments on commit 131b8e5

Please sign in to comment.