wiki-plugin-bars
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -13,13 +13,13 @@ | ||
emit: function(div, item) { | ||
return wiki.getScript('/js/d3/d3.js', function() { | ||
return wiki.getScript('/js/d3/d3.min.js', function() { | ||
var bars, data, h, rules, vis, w, x, y; | ||
data = (function() { | ||
var _i, _len, _ref, _results; | ||
_ref = wiki.getData(); | ||
_results = []; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i += 5) { | ||
x = _ref[_i]; | ||
_results.push(x[1] / 100.0); | ||
var j, len, ref, results; | ||
ref = wiki.getData(); | ||
results = []; | ||
for (j = 0, len = ref.length; j < len; j += 5) { | ||
x = ref[j]; | ||
results.push(x[1] / 100.0); | ||
} | ||
return _results; | ||
return results; | ||
})(); | ||
@@ -26,0 +26,0 @@ w = 380; |
{ | ||
"name": "wiki-plugin-bars", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Federated Wiki - Activity Plug-in", | ||
@@ -32,12 +32,7 @@ "keywords": [ | ||
"grunt": "0.4", | ||
"grunt-contrib-coffee": "0.12", | ||
"grunt-contrib-coffee": "0.13", | ||
"grunt-contrib-watch": "0.6", | ||
"grunt-git-authors": "~2" | ||
"grunt-git-authors": "~3" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/fedwiki/wiki-plugin-bars/blob/master/LICENSE.txt" | ||
} | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
@@ -51,4 +46,4 @@ "type": "git", | ||
"engines": { | ||
"node": "0.10" | ||
"node": ">=0.10" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
29911