summaryrefslogtreecommitdiff
path: root/www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
commit210e8feae2fb4842bfb2de38666e6c41671fef3c (patch)
treecbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js
parente7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff)
removed lib
Diffstat (limited to 'www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js')
-rw-r--r--www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js97
1 files changed, 0 insertions, 97 deletions
diff --git a/www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js b/www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js
deleted file mode 100644
index b1e0cf6b..00000000
--- a/www/lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/*!
- * angular-translate - v2.11.0 - 2016-03-20
- *
- * Copyright (c) 2016 The angular-translate team, Pascal Precht; Licensed MIT
- */
-(function (root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module unless amdModuleId is set
- define([], function () {
- return (factory());
- });
- } else if (typeof exports === 'object') {
- // Node. Does not work with strict CommonJS, but
- // only CommonJS-like environments that support module.exports,
- // like Node.
- module.exports = factory();
- } else {
- factory();
- }
-}(this, function () {
-
-$translateCookieStorageFactory.$inject = ['$cookieStore'];
-angular.module('pascalprecht.translate')
-
-/**
- * @ngdoc object
- * @name pascalprecht.translate.$translateCookieStorage
- * @requires $cookieStore
- *
- * @description
- * Abstraction layer for cookieStore. This service is used when telling angular-translate
- * to use cookieStore as storage.
- *
- */
- .factory('$translateCookieStorage', $translateCookieStorageFactory);
-
-function $translateCookieStorageFactory($cookieStore) {
-
- 'use strict';
-
- var $translateCookieStorage = {
-
- /**
- * @ngdoc function
- * @name pascalprecht.translate.$translateCookieStorage#get
- * @methodOf pascalprecht.translate.$translateCookieStorage
- *
- * @description
- * Returns an item from cookieStorage by given name.
- *
- * @param {string} name Item name
- * @return {string} Value of item name
- */
- get: function (name) {
- return $cookieStore.get(name);
- },
-
- /**
- * @ngdoc function
- * @name pascalprecht.translate.$translateCookieStorage#set
- * @methodOf pascalprecht.translate.$translateCookieStorage
- *
- * @description
- * Sets an item in cookieStorage by given name.
- *
- * @deprecated use #put
- *
- * @param {string} name Item name
- * @param {string} value Item value
- */
- set: function (name, value) {
- $cookieStore.put(name, value);
- },
-
- /**
- * @ngdoc function
- * @name pascalprecht.translate.$translateCookieStorage#put
- * @methodOf pascalprecht.translate.$translateCookieStorage
- *
- * @description
- * Sets an item in cookieStorage by given name.
- *
- * @param {string} name Item name
- * @param {string} value Item value
- */
- put: function (name, value) {
- $cookieStore.put(name, value);
- }
- };
-
- return $translateCookieStorage;
-}
-
-$translateCookieStorageFactory.displayName = '$translateCookieStorage';
-return 'pascalprecht.translate';
-
-}));