Permalink
Browse files

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

  • Loading branch information...
1 parent 9a4d944 commit 5706ae513edb3f84678f5f1186c75916bc9ce48c @Baggz committed Mar 14, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 tests/resources/params.js
@@ -1,4 +1,4 @@
-module.exports = [
+var params = [
'/?foo',
'/?foo=bar',
'/path/to/file/',
@@ -8,4 +8,8 @@ module.exports = [
'/myPage.html',
'/my-Page.html',
'/my_Page_hello.htm'
-];
+];
+
+if (typeof module !== 'undefined' && module.exports) {
+ module.exports = params;
+}

0 comments on commit 5706ae5

Please sign in to comment.