From 1c042f96aa6f8f949bccced9a2f7106e9831de33 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 8 Aug 2016 10:37:02 -0400 Subject: [PATCH 1/3] Fix #150 --- src/bowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bowser.js b/src/bowser.js index c496a73..676a64a 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -6,7 +6,7 @@ !function (name, definition) { if (typeof module != 'undefined' && module.exports) module.exports = definition() - else if (typeof define == 'function' && define.amd) define(definition) + else if (typeof define == 'function' && define.amd) define(name, definition) else this[name] = definition() }('bowser', function () { /** From 78f7939f6c350411a5952823645330035a8c993b Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Wed, 10 Aug 2016 22:28:07 +0300 Subject: [PATCH 2/3] write changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f43eef5..2dae197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Bowser Changelog +### 1.4.4 (August 10, 2016) + +- [FIX] Fix AMD `define` call — pass name to the function + ### 1.4.3 (July 27, 2016) - [FIX] Fix error `Object doesn't support this property or method` on IE8 From b75c3ab8aec26622868f91891aa9d5177c312b47 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Wed, 10 Aug 2016 22:28:23 +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 d4fb1ca..5b9e55a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "sniff", "detection" ], - "version": "1.4.3", + "version": "1.4.4", "homepage": "https://github.com/ded/bowser", "author": "Dustin Diaz (http://dustindiaz.com)", "main": "./src/bowser.js",