aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-29 16:55:32 +0200
committerJochen Topf <jochen@topf.org>2014-09-29 16:55:32 +0200
commit957ee90110ecaad81129a27ca144e8940853a6f0 (patch)
treefd1d0fc76eb8566dd28ea8391fed0a2dc22c9740 /web/viewsjs
parentea89e135fb09a7698f2687ae3352c304ee15dd77 (diff)
downloadtaginfo-957ee90110ecaad81129a27ca144e8940853a6f0.tar
taginfo-957ee90110ecaad81129a27ca144e8940853a6f0.tar.gz
Remove spaces at line endings.
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/key.js.erb2
-rw-r--r--web/viewsjs/reports/characters_in_keys.js.erb2
-rw-r--r--web/viewsjs/search.js.erb2
-rw-r--r--web/viewsjs/tag.js.erb2
4 files changed, 4 insertions, 4 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb
index a8b99fa..165f91f 100644
--- a/web/viewsjs/key.js.erb
+++ b/web/viewsjs/key.js.erb
@@ -163,7 +163,7 @@ function create_chart(params) {
var scale = d3.scale.linear()
.domain([0, params.max])
.range([0, params.height]);
-
+
var color = d3.scale.ordinal()
.range(d3_colors());
diff --git a/web/viewsjs/reports/characters_in_keys.js.erb b/web/viewsjs/reports/characters_in_keys.js.erb
index 72061d8..3dbc7c0 100644
--- a/web/viewsjs/reports/characters_in_keys.js.erb
+++ b/web/viewsjs/reports/characters_in_keys.js.erb
@@ -87,7 +87,7 @@ function page_init() {
var scale = d3.scale.linear()
.domain([0, max])
.range([0, w]);
-
+
var chart = d3.select('#canvas').append('svg')
.attr("width", w)
.attr("height", h);
diff --git a/web/viewsjs/search.js.erb b/web/viewsjs/search.js.erb
index d09afd7..0dd3fdb 100644
--- a/web/viewsjs/search.js.erb
+++ b/web/viewsjs/search.js.erb
@@ -17,7 +17,7 @@ function link_to_key_with_highlight(key, query) {
function link_to_value_with_highlight(key, value, query) {
return link(
- url_for_tag(key, value),
+ url_for_tag(key, value),
highlight(value, query)
);
}
diff --git a/web/viewsjs/tag.js.erb b/web/viewsjs/tag.js.erb
index 3626aa3..4cf5908 100644
--- a/web/viewsjs/tag.js.erb
+++ b/web/viewsjs/tag.js.erb
@@ -147,6 +147,6 @@ function page_init() {
window.location.search = jQuery.param(qs);
});
-
+
page_init2();
}