Skip to content

Commit 3f100a4

Browse files
committed
Release v2.4.1
1 parent 3ee0433 commit 3f100a4

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-gettext",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"main": "dist/angular-gettext.js",
55
"ignore": [
66
"**/.*",

dist/angular-gettext.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ angular.module('gettext').factory('gettextCatalog', ["gettextPlurals", "gettextF
410410
* ```
411411
*/
412412
angular.module('gettext').directive('translate', ["gettextCatalog", "$parse", "$animate", "$compile", "$window", "gettextUtil", function (gettextCatalog, $parse, $animate, $compile, $window, gettextUtil) {
413-
var lowercase = angular.$$lowercase || angular.lowercase;
414-
var msie = parseInt((/msie (\d+)/.exec(lowercase($window.navigator.userAgent)) || [])[1], 10);
413+
var msie = parseInt((/msie (\d+)/i.exec($window.navigator.userAgent) || [])[1], 10);
415414
var PARAMS_PREFIX = 'translateParams';
416415

417416
function getCtxAttr(key) {

dist/angular-gettext.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-gettext",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"title": "Angular Gettext",
55
"description": "Gettext support for Angular.js",
66
"main": "index.js",

0 commit comments

Comments
 (0)