From 2757046e7170946b22bff7ed3e2c9a3c5ed36f57 Mon Sep 17 00:00:00 2001 From: haad Date: Sat, 23 Jul 2016 11:22:30 +0100 Subject: [PATCH] Add isTypedArray to Electron exports --- filenames.gypi | 1 + lib/common/api/exports/electron.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/filenames.gypi b/filenames.gypi index a3a4b6c808f3..d5381e15b303 100644 --- a/filenames.gypi +++ b/filenames.gypi @@ -44,6 +44,7 @@ 'lib/common/api/deprecate.js', 'lib/common/api/deprecations.js', 'lib/common/api/is-promise.js', + 'lib/common/api/is-typed-array.js', 'lib/common/api/exports/electron.js', 'lib/common/api/native-image.js', 'lib/common/api/shell.js', diff --git a/lib/common/api/exports/electron.js b/lib/common/api/exports/electron.js index efa44d452cc6..4539649c7fae 100644 --- a/lib/common/api/exports/electron.js +++ b/lib/common/api/exports/electron.js @@ -48,6 +48,11 @@ exports.defineProperties = function (exports) { get: function () { return require('../is-promise') } + }, + isTypedArray: { + get: function () { + return require('../is-typed-array') + } } }) }