Skip to content

Commit

Permalink
[update] tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipylypchuk1991 committed Jan 24, 2024
1 parent 94cb165 commit d4fefc5
Show file tree
Hide file tree
Showing 105 changed files with 1,105 additions and 1,105 deletions.
2 changes: 1 addition & 1 deletion docs/api/configs/activeproject_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const projects = [

// create To do list
const list = new ToDo("#root", {
projects,
projects,
activeProject: "films"
});

Expand Down
4 changes: 2 additions & 2 deletions docs/api/configs/drag_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ const { ToDo, Toolbar } = todo;

// create To do list
const list = new ToDo("#root", {
tasks: [
tasks: [
{ id: "1", text: "Task 1 #tag1" },
...
...
],
drag: {
expand: false
Expand Down
2 changes: 1 addition & 1 deletion docs/api/configs/id_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const { tasks, users, projects } = getData();
const list = new ToDo("#root", {
tasks,
users,
projects,
projects,
id: "root"
});

Expand Down
12 changes: 6 additions & 6 deletions docs/api/configs/locale_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ const { ToDo, Toolbar} = todo;
const { tasks, users, projects, tags } = getData();

const list = new ToDo("#root", {
tasks,
users,
projects,
locale: de // sets the "de" locale in the component
tasks,
users,
projects,
locale: de // sets the "de" locale in the component
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
locale: de // sets the "de" locale in the Toolbar (read Info below)
api: list.api,
locale: de // sets the "de" locale in the Toolbar (read Info below)
});
~~~

Expand Down
6 changes: 3 additions & 3 deletions docs/api/configs/priorities_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ const priorities = [
];

const list = new ToDo ("#root", {
tasks,
users,
projects,
tasks,
users,
projects,
priorities
});

Expand Down
2 changes: 1 addition & 1 deletion docs/api/configs/projects_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const projects = [

// create To do list
const list = new ToDo("#root", {
projects,
projects,
activeProject: "films"
});

Expand Down
2 changes: 1 addition & 1 deletion docs/api/configs/readonly_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const { tasks, users, projects } = getData();
const list = new ToDo("#root", {
tasks,
users,
projects,
projects,
readonly: true
});

Expand Down
6 changes: 3 additions & 3 deletions docs/api/configs/selected_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ const { ToDo, Toolbar } = todo;

// create To do list
const list = new ToDo("#root", {
tasks: [
tasks: [
{ id: "1", text: "Task 1 #tag1" },
{ id: "1.1", text: "Task 1.1", parent: "1" },
{ id: "1.1", text: "Task 1.1", parent: "1" },
{ id: "1.1.1", text: "Task 1.1.1", parent: "1.1" },
{ id: "1.2", text: "Task 1.2", parent: "1" },
{ id: "1.2", text: "Task 1.2", parent: "1" },
],
selected: ["1.1"]
});
Expand Down
8 changes: 4 additions & 4 deletions docs/api/configs/tags_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ const { ToDo, Toolbar } = todo;
const { tasks, users, projects } = getData();

const list = new ToDo("#root", {
tasks,
users,
projects,
tags: ["urgent", "normal"]
tasks,
users,
projects,
tags: ["urgent", "normal"]
});

const toolbar = new Toolbar("#toolbar", {
Expand Down
6 changes: 3 additions & 3 deletions docs/api/configs/tasks_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ const projects = [
];

const list = new ToDo("#root", {
tasks,
users,
projects
tasks,
users,
projects
});

const toolbar = new Toolbar("#toolbar", {
Expand Down
14 changes: 7 additions & 7 deletions docs/api/configs/taskshape_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ taskShape?: {
taskHide: boolean
},
priority?: {
cover: boolean,
label: boolean
}
cover: boolean,
label: boolean
}
};
~~~

Expand All @@ -48,9 +48,9 @@ taskShape: {
taskHide: false
},
priority: {
cover: true,
label: true
}
cover: true,
label: true
}
}
~~~

Expand Down Expand Up @@ -88,7 +88,7 @@ const { tasks, users, projects, priorities } = getData();
const list = new ToDo("#root", {
tasks,
users,
projects,
projects,
priorities,
taskShape: {
counter: {
Expand Down
6 changes: 3 additions & 3 deletions docs/api/configs/users_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ const projects = [
];

const list = new ToDo("#root", {
tasks,
users,
projects
tasks,
users,
projects
});

const toolbar = new Toolbar("#toolbar", {
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/addproject_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "add-project" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/addtask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "add-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/assignuser_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "assign-user" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/checktask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "check-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/clonetask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "clone-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/closeinlineeditor_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "close-inline-editor" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/closemenu_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "close-menu" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/collapsetask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "collapse-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/copytask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "copy-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/deleteproject_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "delete-project" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/deletetask_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "delete-task" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/drag_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "drag" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/edititem_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "edit-item" event
Expand Down
4 changes: 2 additions & 2 deletions docs/api/events/enddrag_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const { ToDo, Toolbar } = todo;
const {tasks, projects, users} = getData();

const list = new ToDo("#root", {
tasks,
tasks,
projects,
users
});

const toolbar = new Toolbar("#toolbar", {
api: list.api,
api: list.api,
});

// subscribe to the "drag" event
Expand Down
Loading

0 comments on commit d4fefc5

Please sign in to comment.