From 4e68f94023b870e962c9bf93761c876a4791a8bb Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 29 Jan 2015 21:03:16 +1100 Subject: [PATCH] start adding detection base --- lib/6to5/detection/index.js | 7 +++++++ package.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 lib/6to5/detection/index.js diff --git a/lib/6to5/detection/index.js b/lib/6to5/detection/index.js new file mode 100644 index 0000000000..26226c1b6e --- /dev/null +++ b/lib/6to5/detection/index.js @@ -0,0 +1,7 @@ +exports.canRun = function (ast, userAgent) { + +}; + +exports.whoCanRun = function (ast, userAgent) { + +}; diff --git a/package.json b/package.json index 2e22bea362..ee739a49d1 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "roadrunner": "1.0.4", "source-map": "0.1.43", "source-map-support": "0.2.9", - "supports-color": "1.2.0" + "supports-color": "1.2.0", + "useragent": "^2.1.5" }, "devDependencies": { "browserify": "8.1.1",