Moved loads of stuff
This commit is contained in:
parent
a96d786e23
commit
2b323470b4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
client/build
|
build
|
||||||
|
@ -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",
|
||||||
|
@ -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;
|
Loading…
x
Reference in New Issue
Block a user