mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix jshint error on polyfill
This commit is contained in:
parent
fba505bc90
commit
d28c264422
@ -41,6 +41,7 @@
|
|||||||
if (new Set([0]).size === 0) {
|
if (new Set([0]).size === 0) {
|
||||||
// IE does not support passing an iterable to Set constructor
|
// IE does not support passing an iterable to Set constructor
|
||||||
var _Set = Set;
|
var _Set = Set;
|
||||||
|
/*global Set:true */
|
||||||
Set = function Set(iterable) {
|
Set = function Set(iterable) {
|
||||||
var set = new _Set();
|
var set = new _Set();
|
||||||
if (iterable) {
|
if (iterable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user