From a164fe7d6851cf4a483f2e8400c35f2221d84ecb Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Tue, 24 Apr 2018 06:27:57 -0700 Subject: [PATCH] typo corrections --- app.moon | 2 +- static/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.moon b/app.moon index 215f81e..5be860b 100644 --- a/app.moon +++ b/app.moon @@ -16,7 +16,7 @@ class Simplex extends Application -- NOTE TEMPORARY if @user @keys = APIKeys\select "WHERE user_id = ?", @user.id - @tasls = Tasks\select "WHERE user_id = ?", @user.id + @tasks = Tasks\select "WHERE user_id = ?", @user.id unless @keys and #@keys > 0 @keys = {APIKeys\create(@user)} diff --git a/static/index.js b/static/index.js index 26ed090..c766119 100644 --- a/static/index.js +++ b/static/index.js @@ -43,7 +43,7 @@ function new_task() { if (xhr.readyState === 4) { data = JSON.parse(xhr.responseText); if (data.task) { - $("#new-task").before("
  • " + data.task.content + "
  • "); + $("#new-task").before("
  • " + data.task.content + "
  • "); } else { console.log(data); // NOTE TEMPORARY (handle errors better!) }