From 2de21e77f0d98539c0f4c5730c8403d0ae18ff8b Mon Sep 17 00:00:00 2001 From: Maksim Ryzhikov Date: Tue, 26 Jul 2016 18:16:33 +0300 Subject: [PATCH 1/3] fix: Error Object doesn't support this property or method fixes #147 --- src/bowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bowser.js b/src/bowser.js index 49cb903..c496a73 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -435,7 +435,7 @@ return Array.prototype.map.call(arr, iterator); } for (i = 0; i < arr.length; i++) { - result = iterator(arr[i]); + result.push(iterator(arr[i])); } return result; } From 6e53c48d54997bf93ba9d56eba6d85864a6ebda3 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Wed, 27 Jul 2016 13:03:45 +0300 Subject: [PATCH 2/3] write 1.4.3 to changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e194ea..f43eef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Bowser Changelog +### 1.4.3 (July 27, 2016) + +- [FIX] Fix error `Object doesn't support this property or method` on IE8 ### 1.4.2 (July 26, 2016) From 2db375d25e4fa7e8d554b6a41c5094e0d46621ac Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Wed, 27 Jul 2016 13:04:29 +0300 Subject: [PATCH 3/3] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f619e12..d4fb1ca 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "sniff", "detection" ], - "version": "1.4.2", + "version": "1.4.3", "homepage": "https://github.com/ded/bowser", "author": "Dustin Diaz (http://dustindiaz.com)", "main": "./src/bowser.js",