You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
529 B
19 lines
529 B
3 years ago
|
/*!
|
||
|
* angular-translate - v2.4.2 - 2014-10-21
|
||
|
* http://github.com/angular-translate/angular-translate
|
||
|
* Copyright (c) 2014 ; Licensed MIT
|
||
|
*/
|
||
|
angular.module('pascalprecht.translate').factory('$translateCookieStorage', [
|
||
|
'$cookieStore',
|
||
|
function ($cookieStore) {
|
||
|
var $translateCookieStorage = {
|
||
|
get: function (name) {
|
||
|
return $cookieStore.get(name);
|
||
|
},
|
||
|
set: function (name, value) {
|
||
|
$cookieStore.put(name, value);
|
||
|
}
|
||
|
};
|
||
|
return $translateCookieStorage;
|
||
|
}
|
||
|
]);
|