From 884ea545d6871621c815b935907dcec56600b63d Mon Sep 17 00:00:00 2001 From: Jack Moore Date: Mon, 14 Sep 2015 00:30:50 -0400 Subject: [PATCH] Fixed regression from 3.0.10 that caused an error with ES5 browsers. Merged #255, Fixes #257 --- changelog.md | 3 +++ dist/autosize.js | 4 ++-- dist/autosize.min.js | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index c6cf2a1..e492c54 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ ## Changelog +##### v.3.0.11 - 2015-09-14 +* Fixed regression from 3.0.10 that caused an error with ES5 browsers. Merged #255, Fixes #257. + ##### v.3.0.10 - 2015-09-10 * Removed data attribute as a way of tracking which elements autosize has been assigned to. fixes #254, fixes #200. diff --git a/dist/autosize.js b/dist/autosize.js index 7394ef8..ce93068 100644 --- a/dist/autosize.js +++ b/dist/autosize.js @@ -1,5 +1,5 @@ /*! - Autosize 3.0.10 + Autosize 3.0.11 license: MIT http://www.jacklmoore.com/autosize */ @@ -18,7 +18,7 @@ })(this, function (exports, module) { 'use strict'; - var set = (typeof Set != "undefined") ? new Set() : (function () { + var set = Set ? new Set() : (function () { var list = []; return { diff --git a/dist/autosize.min.js b/dist/autosize.min.js index 7697e35..525fa82 100644 --- a/dist/autosize.min.js +++ b/dist/autosize.min.js @@ -1,5 +1,5 @@ /*! - Autosize 3.0.10 + Autosize 3.0.11 license: MIT http://www.jacklmoore.com/autosize */ diff --git a/package.json b/package.json index 29db783..111d84b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "autosize", "description": "Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.", - "version": "3.0.10", + "version": "3.0.11", "keywords": [ "textarea", "form",