From 383f0a1f30a71c6d57cae5caac386621c950396a Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Fri, 29 May 2015 14:35:54 -0700 Subject: [PATCH] fix(benchpress): add index to root of module This is necessary when using require('benchpress') in node. --- modules/benchpress/index.dart | 2 ++ modules/benchpress/index.ts | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 modules/benchpress/index.dart create mode 100644 modules/benchpress/index.ts diff --git a/modules/benchpress/index.dart b/modules/benchpress/index.dart new file mode 100644 index 0000000000..a071c58357 --- /dev/null +++ b/modules/benchpress/index.dart @@ -0,0 +1,2 @@ +library benchpress.index; +//no dart implementation diff --git a/modules/benchpress/index.ts b/modules/benchpress/index.ts new file mode 100644 index 0000000000..c4dc17cbd6 --- /dev/null +++ b/modules/benchpress/index.ts @@ -0,0 +1,2 @@ +require(require('traceur').RUNTIME_PATH); +module.exports = require('./benchpress.js');