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) 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", 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; }