-
Add comments so that others can read your code more easily
-
Be sure to commit your change every now and then so that others can track changes/debug more easily
How to commit your change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command_lst = command.lower().split() | |
command_dic = { | |
"specification":"", | |
"keyword":"", | |
"criteria":"ratings", | |
"sorting_order":"top", | |
"limit":"10", | |
"sellers_or_sources":"sellers" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = []; // the variable that holds the data from csv file | |
var category_colors = { | |
"clothing, beauty, & fashion": "#5B7BE9", | |
"computers & internet": "#E0D22E", | |
"education": "#2CCEF6", | |
"food & drink": "#FB7F23", | |
"grab bag": "#D63CA3", | |
"health & fitness": "#c38014", | |
"home & garden": "#E24062", | |
"human relations": "#5BB923", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataitems = []; | |
var names = []; | |
$(document).ready(function () { | |
loadData(); | |
}); | |
// Loads the CSV file | |
function loadData() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataitems = []; | |
$(document).ready(function () { | |
loadData(); | |
wireButtonClickEvents() | |
filterData(); | |
}); | |
// Loads the CSV file | |
function loadData() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar color="success"> | |
<ion-title> | |
{{ checklist?.title }} | |
</ion-title> | |
<ion-buttons slot="start"> | |
<ion-back-button defaultHref="/checklists"></ion-back-button> | |
</ion-buttons> | |
<ion-buttons slot="end"> | |
<ion-button (click)="addItem()"> |
OlderNewer