searchViz 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SearchViz
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -10,14 +10,14 @@ searchVizHashRemove = function(urlReplaceH) {
10
10
  searchVizCookie = function(urlReplaceR,urlReplaceH,opt) {
11
11
  try {
12
12
  if (opt=='R') {
13
- history.pushState(null, document.title, urlReplaceR);
13
+ history.replaceState(null, document.title, urlReplaceR);
14
14
  }
15
15
  else if (opt=='H'){
16
16
  window.location.hash = urlReplaceH;
17
17
  }
18
18
  else if (opt=='B') {
19
19
  try {
20
- history.pushState(null, document.title, urlReplaceR);
20
+ history.replaceState(null, document.title, urlReplaceR);
21
21
  }
22
22
  catch(err){
23
23
  window.location.hash = urlReplaceH;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchViz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Write a gem description
15
15
  email: