From 5203651ae5c820ae21c404706138a3e4ab6d96e9 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Sun, 13 Sep 2015 11:24:24 +0200 Subject: [PATCH] Fix fallback to ES5 --- dist/autosize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/autosize.js b/dist/autosize.js index de3af2c..7394ef8 100644 --- a/dist/autosize.js +++ b/dist/autosize.js @@ -18,7 +18,7 @@ })(this, function (exports, module) { 'use strict'; - var set = Set ? new Set() : (function () { + var set = (typeof Set != "undefined") ? new Set() : (function () { var list = []; return {