Commit 08f28552 authored by Eirik Alvær's avatar Eirik Alvær
Browse files

fixed lint errors

parent c1c03ab2
...@@ -43,7 +43,7 @@ function CommandExecutor() { ...@@ -43,7 +43,7 @@ function CommandExecutor() {
"examples": [ "examples": [
{ {
"example": "drop gender", "example": "drop gender",
"description": "Remove variable gender from the current dataset." "description": "Remove variable \"gender\" from the current dataset."
}, },
{ {
"example": "drop if age < 5", "example": "drop if age < 5",
...@@ -59,7 +59,7 @@ function CommandExecutor() { ...@@ -59,7 +59,7 @@ function CommandExecutor() {
"examples": [ "examples": [
{ {
"example": "generate fakeVar = age + 5", "example": "generate fakeVar = age + 5",
"description": "Create a variable called "fakeVar". The value for each case will be the value of variable age plus five." "description": "Create a variable called \"fakeVar\". The value for each case will be the value of variable age plus five."
}, },
{ {
"example": "generate fakeVar = age + 5 if gender = 0", "example": "generate fakeVar = age + 5 if gender = 0",
...@@ -196,11 +196,11 @@ function CommandExecutor() { ...@@ -196,11 +196,11 @@ function CommandExecutor() {
}; };
function addHelpCommands(helpText) { function addHelpCommands(helpText) {
helpCommands = helpTexts.keys(); var helpCommands = helpTexts.keys();
helpCommands.sort(); helpCommands.sort();
helpCommands.forEach(function (helpCommand) { helpCommands.forEach(function (helpCommand) {
helpText.description += " " + helpCommand; helpText.description += " " + helpCommand;
}) });
} }
return { return {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment