From 9f11fdd2c57d5809be17856be0209ff2d6f8c03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frantis=CC=8Cek=20Ha=CC=81ba?= Date: Wed, 14 Mar 2012 19:59:17 +0100 Subject: [PATCH] =?UTF-8?q?The=20ability=20to=20include=20the=20=E2=80=98d?= =?UTF-8?q?omains=E2=80=99=20resource=20in=20a=20browser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/resources/domains.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/resources/domains.js b/tests/resources/domains.js index 746b7c2..4f499e3 100644 --- a/tests/resources/domains.js +++ b/tests/resources/domains.js @@ -1,4 +1,4 @@ -module.exports = [ +var domains = [ '.ac', '.ad', '.ae', @@ -269,4 +269,8 @@ module.exports = [ '.tel', '.travel', '.xxx' -]; \ No newline at end of file +]; + +if (typeof module !== 'undefined' && module.exports) { + module.exports = domains; +} \ No newline at end of file