Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c1f1c0e

Browse files
committed
v1.6.10-build.5552+sha.5b7e4b4
1 parent e4da897 commit c1f1c0e

File tree

5 files changed

+11
-89
lines changed

5 files changed

+11
-89
lines changed

angular-cookies.js

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.6.9
2+
* @license AngularJS v1.6.10-build.5552+sha.5b7e4b4
33
* (c) 2010-2018 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -17,7 +17,7 @@
1717

1818

1919
angular.module('ngCookies', ['ng']).
20-
info({ angularVersion: '1.6.9' }).
20+
info({ angularVersion: '1.6.10-build.5552+sha.5b7e4b4' }).
2121
/**
2222
* @ngdoc provider
2323
* @name $cookiesProvider
@@ -185,84 +185,6 @@ angular.module('ngCookies', ['ng']).
185185
}];
186186
}]);
187187

188-
angular.module('ngCookies').
189-
/**
190-
* @ngdoc service
191-
* @name $cookieStore
192-
* @deprecated
193-
* sinceVersion="v1.4.0"
194-
* Please use the {@link ngCookies.$cookies `$cookies`} service instead.
195-
*
196-
* @requires $cookies
197-
*
198-
* @description
199-
* Provides a key-value (string-object) storage, that is backed by session cookies.
200-
* Objects put or retrieved from this storage are automatically serialized or
201-
* deserialized by AngularJS's `toJson`/`fromJson`.
202-
*
203-
* Requires the {@link ngCookies `ngCookies`} module to be installed.
204-
*
205-
* @example
206-
*
207-
* ```js
208-
* angular.module('cookieStoreExample', ['ngCookies'])
209-
* .controller('ExampleController', ['$cookieStore', function($cookieStore) {
210-
* // Put cookie
211-
* $cookieStore.put('myFavorite','oatmeal');
212-
* // Get cookie
213-
* var favoriteCookie = $cookieStore.get('myFavorite');
214-
* // Removing a cookie
215-
* $cookieStore.remove('myFavorite');
216-
* }]);
217-
* ```
218-
*/
219-
factory('$cookieStore', ['$cookies', function($cookies) {
220-
221-
return {
222-
/**
223-
* @ngdoc method
224-
* @name $cookieStore#get
225-
*
226-
* @description
227-
* Returns the value of given cookie key
228-
*
229-
* @param {string} key Id to use for lookup.
230-
* @returns {Object} Deserialized cookie value, undefined if the cookie does not exist.
231-
*/
232-
get: function(key) {
233-
return $cookies.getObject(key);
234-
},
235-
236-
/**
237-
* @ngdoc method
238-
* @name $cookieStore#put
239-
*
240-
* @description
241-
* Sets a value for given cookie key
242-
*
243-
* @param {string} key Id for the `value`.
244-
* @param {Object} value Value to be stored.
245-
*/
246-
put: function(key, value) {
247-
$cookies.putObject(key, value);
248-
},
249-
250-
/**
251-
* @ngdoc method
252-
* @name $cookieStore#remove
253-
*
254-
* @description
255-
* Remove given cookie
256-
*
257-
* @param {string} key Id of the key-value pair to delete.
258-
*/
259-
remove: function(key) {
260-
$cookies.remove(key);
261-
}
262-
};
263-
264-
}]);
265-
266188
/**
267189
* @name $$cookieWriter
268190
* @requires $document

angular-cookies.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular-cookies.min.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "angular-cookies",
3-
"version": "1.6.9",
3+
"version": "1.6.10-build.5552+sha.5b7e4b4",
44
"license": "MIT",
55
"main": "./angular-cookies.js",
66
"ignore": [],
77
"dependencies": {
8-
"angular": "1.6.9"
8+
"angular": "1.6.10-build.5552+sha.5b7e4b4"
99
}
1010
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-cookies",
3-
"version": "1.6.9",
3+
"version": "1.6.10-build.5552+sha.5b7e4b4",
44
"description": "AngularJS module for cookies",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)