Releases: lgraubner/hash-handler
Releases · lgraubner/hash-handler
v2.0.0
Moved focus of this project to concentrate on query string hashes. Therefore all getter/setter methods expect objects as arguments.
- Changed API
- Added
replace
method
- Functional rewrite
v1.5.1
Handle empty value bug when using set while there is no hash present.
v1.5.0
Add set/get by value.
hash.get('key');
hash.set('key', 'value');
v1.4.2
Fix bug in get()method. If parsing is enabled and no hash is present it would return {'': true}. Instead returns empty object now.
v1.4.0
Add option for objects as arguments in set()
method. Translates objects as query strings.
v1.3.1
Added query string parsing for #get()
and #listen()
.
v1.1.0
Encodes/decodes hash fragment.
v1.0.0
Expose getInstance
for singleton use.