Commit c5cf29f5 authored by bingchuan's avatar bingchuan

[dev] version 2.18.4

parent 4784b7d0
/*! /*!
* angular-translate - v2.13.1 - 2016-12-06 * angular-translate - v2.18.4 - 2021-01-14
* *
* Copyright (c) 2016 The angular-translate team, Pascal Precht; Licensed MIT * Copyright (c) 2021 The angular-translate team, Pascal Precht; Licensed MIT
*/ */
(function (root, factory) { (function (root, factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
define([], function () { define([], function () {
return (factory()); return (factory());
}); });
} else if (typeof exports === 'object') { } else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but // Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports, // only CommonJS-like environments that support module.exports,
// like Node. // like Node.
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
} }
}(this, function () { }(this, function () {
$translateUrlLoader.$inject = ['$q', '$http']; $translateUrlLoader.$inject = ['$q', '$http'];
angular.module('pascalprecht.translate') angular.module('pascalprecht.translate')
/** /**
* @ngdoc object * @ngdoc object
* @name pascalprecht.translate.$translateUrlLoader * @name pascalprecht.translate.$translateUrlLoader
* @requires $q * @requires $q
...@@ -38,9 +38,9 @@ angular.module('pascalprecht.translate') ...@@ -38,9 +38,9 @@ angular.module('pascalprecht.translate')
* @param {object} options Options object, which gets the url, key and * @param {object} options Options object, which gets the url, key and
* optional queryParameter ('lang' is used by default). * optional queryParameter ('lang' is used by default).
*/ */
.factory('$translateUrlLoader', $translateUrlLoader); .factory('$translateUrlLoader', $translateUrlLoader);
function $translateUrlLoader($q, $http) { function $translateUrlLoader($q, $http) {
'use strict'; 'use strict';
...@@ -65,9 +65,9 @@ function $translateUrlLoader($q, $http) { ...@@ -65,9 +65,9 @@ function $translateUrlLoader($q, $http) {
return $q.reject(options.key); return $q.reject(options.key);
}); });
}; };
} }
$translateUrlLoader.displayName = '$translateUrlLoader'; $translateUrlLoader.displayName = '$translateUrlLoader';
return 'pascalprecht.translate'; return 'pascalprecht.translate';
})); }));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment