searchViz 0.0.12 → 0.0.13

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.12"
2
+ VERSION = "0.0.13"
3
3
  end
@@ -32,26 +32,26 @@ searchVizCookie = function(urlrpeplaceRP, urlrpeplaceH, opt) {
32
32
  }
33
33
  };
34
34
 
35
- OnHashDataLoad = function(blk_id, path_call, ctrl_q, opt) {
35
+ OnHashDataLoad = function(blkId, pathCall, ctrlQ, opt) {
36
36
  var hash, path, url, urlh, urlrp;
37
37
  if (opt === "H") {
38
38
  hash = window.location.hash.substring(1);
39
39
  path = window.location.pathname;
40
- url = path_call + hash + "&trigger_call=svZ" + "&ctrl_q =" + ctrl_q;
40
+ url = pathCall + hash + "&triggerCall=svZ" + "&ctrlQ=" + ctrlQ;
41
41
  urlrp = path + hash;
42
42
  urlh = hash;
43
43
  $.get(url, function(data, status, xhr) {
44
- $("#" + blk_id).html(data);
44
+ $("#" + blkId).html(data);
45
45
  return searchVizCookie(urlrp, urlh, "H");
46
46
  });
47
47
  }
48
48
  };
49
49
 
50
- HashDataLoad = function(path, hash_data, page_id, q, opt) {
50
+ HashDataLoad = function(path, hashData, pageId, q, opt) {
51
51
  var urlh, urlrp;
52
52
  if (opt === "H") {
53
- urlrp = path + "?q=" + q + "&page_id=" + page_id + hash_data;
54
- urlh = "?q=" + q + "&page_id=" + page_id + hash_data;
53
+ urlrp = path + "?q=" + q + "&pageId=" + pageId + hashData;
54
+ urlh = "?q=" + q + "&pageId=" + pageId + hashData;
55
55
  return searchVizCookie(urlrp, urlh, "H");
56
56
  }
57
57
  };
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.12
4
+ version: 0.0.13
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-23 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Write a gem description
15
15
  email: