angular-translate-loader-url
Advanced tools
Comparing version 2.17.0 to 2.17.1
/*! | ||
* angular-translate - v2.17.0 - 2017-12-21 | ||
* angular-translate - v2.17.1 - 2018-04-16 | ||
* | ||
* Copyright (c) 2017 The angular-translate team, Pascal Precht; Licensed MIT | ||
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT | ||
*/ | ||
@@ -6,0 +6,0 @@ (function (root, factory) { |
/*! | ||
* angular-translate - v2.17.0 - 2017-12-21 | ||
* angular-translate - v2.17.1 - 2018-04-16 | ||
* | ||
* Copyright (c) 2017 The angular-translate team, Pascal Precht; Licensed MIT | ||
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT | ||
*/ | ||
!function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():t()}(0,function(){function e(e,t){"use strict";return function(r){if(!r||!r.url)throw new Error("Couldn't use urlLoader since no url is given!");var n={};return n[r.queryParameter||"lang"]=r.key,t(angular.extend({url:r.url,params:n,method:"GET"},r.$http)).then(function(e){return e.data},function(){return e.reject(r.key)})}}return e.$inject=["$q","$http"],angular.module("pascalprecht.translate").factory("$translateUrlLoader",e),e.displayName="$translateUrlLoader","pascalprecht.translate"}); |
{ | ||
"name": "angular-translate-loader-url", | ||
"description": "A plugin for Angular Translate", | ||
"version": "2.17.0", | ||
"version": "2.17.1", | ||
"main": "./angular-translate-loader-url.js", | ||
@@ -10,4 +10,4 @@ "ignore": [], | ||
"dependencies": { | ||
"angular-translate": "~2.17.0" | ||
"angular-translate": "~2.17.1" | ||
} | ||
} |
{ | ||
"name": "angular-translate-loader-url", | ||
"version": "2.17.0", | ||
"version": "2.17.1", | ||
"description": "Creates a loading function for a typical dynamic url pattern: \"locale.php?lang=en_US\", \"locale.php?lang=de_DE\", \"locale.php?language=nl_NL\" etc. Prefixing the specified url, the current requested, language id will be applied with \"?{queryParameter}={key}\". Using this service, the response of these urls must be an object of key-value pairs.", | ||
@@ -22,4 +22,4 @@ "main": "angular-translate-loader-url.js", | ||
"dependencies": { | ||
"angular-translate": "~2.17.0" | ||
"angular-translate": "~2.17.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Updatedangular-translate@~2.17.1