mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
WIP
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
This commit is contained in:
@@ -3,16 +3,16 @@ angular.module('myApp', ['ipCookie'])
|
||||
ipCookie('key', 'value');
|
||||
ipCookie('key', { value: 'value'});
|
||||
ipCookie('key', [1, 2, 3]);
|
||||
|
||||
|
||||
ipCookie('key', 'value', { expires: 21 });
|
||||
ipCookie('key', 'value', { encode: function (value) { return value; } });
|
||||
|
||||
|
||||
ipCookie();
|
||||
ipCookie('key');
|
||||
ipCookie('key', undefined, {decode: function (value) { return value; }});
|
||||
|
||||
|
||||
ipCookie.remove('key');
|
||||
ipCookie.remove('key', { path: '/some/path/' });
|
||||
|
||||
|
||||
var obj: Object = '255';
|
||||
}]);
|
||||
Reference in New Issue
Block a user