Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Version 1.1.5
  • Loading branch information
Brandon committed Sep 3, 2016
1 parent 74a7d7b commit 9ea81a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -42,6 +42,12 @@ Goes backward or forward to reach a tag.

# Changes

### 1.1.5
- Fix deleteTag method name

### 1.1.4
- Forgot to recreate index.js in babel

### 1.1.3
- Ensure tags and titles are saved to sessionStorage in case of a reload

Expand Down
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -150,8 +150,8 @@ var BackForwardHistory = function () {
this.saveStateToSession();
}
}, {
key: 'deleteTagForKey',
value: function deleteTagForKey(tag) {
key: 'deleteTag',
value: function deleteTag(tag) {
delete this.tags[tag];
this.saveStateToSession();
}
Expand Down
2 changes: 1 addition & 1 deletion index_src.js
Expand Up @@ -121,7 +121,7 @@ class BackForwardHistory {
this.saveStateToSession()
}

deleteTagForKey(tag) {
deleteTag(tag) {
delete this.tags[tag]
this.saveStateToSession()
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "back-forward-history",
"version": "1.1.4",
"version": "1.1.5",
"description": "This is an addon to the history JavaScript library. It enables tracking of back and forward locations.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9ea81a1

Please sign in to comment.