Moved loads of stuff

This commit is contained in:
Tim Stallard 2017-02-27 11:17:16 +00:00
parent a96d786e23
commit 2b323470b4
44 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
node_modules node_modules
client/build build

View File

@ -4,8 +4,8 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "webpack --config client/webpack.config.js", "build": "webpack",
"dev-server": "webpack-dev-server --config client/webpack.config.js --watch --progress --colors" "dev-server": "webpack-dev-server --watch --progress --colors"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -60,7 +60,7 @@ module.exports = {
topGroups = topGroupsByFrequency(getFrequency(getGroups(input, parseInt(block.properties.type)))); topGroups = topGroupsByFrequency(getFrequency(getGroups(input, parseInt(block.properties.type))));
} }
else if(block.properties.type == "first"){ else if(block.properties.type == "first"){
//first //first letter of each word
topGroups = topGroupsByFrequency(getFrequency(getFirstLetters(input, parseInt(block.properties.type)))); topGroups = topGroupsByFrequency(getFrequency(getFirstLetters(input, parseInt(block.properties.type))));
} }
$(block.elem).data("chartTop").data.labels = topGroups.labels; $(block.elem).data("chartTop").data.labels = topGroups.labels;