From eb6f74f532d68f75f54b5f670c90592b95fbd088 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sat, 4 Jul 2020 16:59:34 +0200 Subject: [PATCH] Add comments --- .gitignore | 1 + src/core.js | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5209b96..4795979 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ dist/ffnm.min.js.map package-lock.json dist/.DS_Store +src/.#core.js diff --git a/src/core.js b/src/core.js index e63dbfd..dd914c9 100644 --- a/src/core.js +++ b/src/core.js @@ -12,8 +12,9 @@ document.addEventListener('DOMContentLoaded', () => { //=== // FUNCTIONS //=== + /** - * Method that validates syntax and reports. + * Method that validates syntax and reports. * return - Bool */ function validateSyntax() { @@ -42,6 +43,10 @@ document.addEventListener('DOMContentLoaded', () => { }).every(event => event); } + /** + * Method add events click + * return void + */ function addEventClick() { }