mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-27 01:52:56 +08:00
Add angular-translate
This commit is contained in:
parent
be14586db5
commit
ceed0130c3
2 changed files with 12 additions and 0 deletions
6
js/vendor/angular-translate/angular-translate-loader-url.min.js
vendored
Normal file
6
js/vendor/angular-translate/angular-translate-loader-url.min.js
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
/*!
|
||||||
|
* angular-translate - v2.13.1 - 2016-12-06
|
||||||
|
*
|
||||||
|
* Copyright (c) 2016 The angular-translate team, Pascal Precht; Licensed MIT
|
||||||
|
*/
|
||||||
|
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a,b){"use strict";return function(c){if(!c||!c.url)throw new Error("Couldn't use urlLoader since no url is given!");var d={};return d[c.queryParameter||"lang"]=c.key,b(angular.extend({url:c.url,params:d,method:"GET"},c.$http)).then(function(a){return a.data},function(){return a.reject(c.key)})}}return a.$inject=["$q","$http"],angular.module("pascalprecht.translate").factory("$translateUrlLoader",a),a.displayName="$translateUrlLoader","pascalprecht.translate"});
|
6
js/vendor/angular-translate/angular-translate.min.js
vendored
Normal file
6
js/vendor/angular-translate/angular-translate.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue