Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
HEAD
-----

1.4.1
-----
- Added support for CommonJS.

- Added support for package managers: Jam (http://jamjs.org), volo (http://volojs.org), Component (http://component.io), jspm (http://jspm.io).

- The expires option now interpretes fractions of numbers (e.g. days) correctly.

1.4.0
-----
- Support for AMD.

- Removed deprecated method `$.cookie('name', null)` for deleting a cookie,
  use `$.removeCookie('name')`.

- `$.cookie('name')` now returns `undefined` in case such cookie does not exist
  (was `null`). Because the return value is still falsy, testing for existence
  of a cookie like `if ( $.cookie('foo') )` keeps working without change.

- Renamed bower package definition (component.json -> bower.json) for usage
  with up-to-date bower.

- Badly encoded cookies no longer throw exception upon reading but do return
  undefined (similar to how we handle JSON parse errors with json = true).

- Added conversion function as optional last argument for reading,
  so that values can be changed to a different representation easily on the fly.
  Useful for parsing numbers for instance:

  ```javascript
  $.cookie('foo', '42');
  $.cookie('foo', Number); // => 42
  ```

1.3.1
-----
- Fixed issue where it was no longer possible to check for an arbitrary cookie,
  while json is set to true, there was a SyntaxError thrown from JSON.parse.

- Fixed issue where RFC 2068 decoded cookies were not properly read.

1.3.0
-----
- Configuration options: `raw`, `json`. Replaces raw option, becomes config:

  ```javascript
  $.cookie.raw = true; // bypass encoding/decoding the cookie value
  $.cookie.json = true; // automatically JSON stringify/parse value
  ```

  Thus the default options now cleanly contain cookie attributes only.

- Removing licensing under GPL Version 2, the plugin is now released under MIT License only
(keeping it simple and following the jQuery library itself here).

- Bugfix: Properly handle RFC 2068 quoted cookie values.

- Added component.json for bower.

- Added jQuery plugin package manifest.

- `$.cookie()` returns all available cookies.

1.2.0
-----
- Adding `$.removeCookie('foo')` for deleting a cookie, using `$.cookie('foo', null)` is now deprecated.

1.1
---
- Adding default options.

Commits for Nextrek/Web/Smartcharging_site/js/cookie/CHANGELOG.md

Diff revisions: vs.
Revision Author Commited Message
803 JMBauan picture JMBauan Mon 19 Oct, 2015 14:14:39 +0000