From 2442ac8e79c43861e782bd5dc18e6e915a3826b0 Mon Sep 17 00:00:00 2001 From: Karl Semich <0xloem@gmail.com> Date: Sat, 13 Jan 2018 22:55:09 +0000 Subject: [PATCH] specify platform --- browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/browser.js b/browser.js index ac1eef5..6ec34aa 100644 --- a/browser.js +++ b/browser.js @@ -156,6 +156,7 @@ process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; +process.platform = 'browser'; process.version = ''; // empty string to avoid regexp issues process.versions = {};