Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Behira Younes
Commits
d04a5a08
Commit
d04a5a08
authored
4 years ago
by
Ratnadeep Rajendra Kharade
Browse files
Options
Download
Email Patches
Plain Diff
fixed typos
parent
eecc7278
Pipeline
#1084
passed with stages
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.js
+4
-4
public/index.js
with
4 additions
and
4 deletions
+4
-4
public/index.js
+
4
-
4
View file @
d04a5a08
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
let
inputObj
=
{
let
inputObj
=
{
textChoice
:
'
manual
'
,
// choice of text entry initially set as manual. Can have values manual, calculated
textChoice
:
'
manual
'
,
// choice of text entry initially set as manual. Can have values manual, calculated
text
:
''
,
// User entered text in case of manual
text
:
''
,
// User entered text in case of manual
textLength
:
''
,
// number of characters in text. Either from user en
e
tered text or user entered number
textLength
:
''
,
// number of characters in text. Either from user entered text or user entered number
readerLevel
:
''
,
// Value of reader level selected from dropdown
readerLevel
:
''
,
// Value of reader level selected from dropdown
readerCategory
:
''
// Value of reader category selected from dropdown
readerCategory
:
''
// Value of reader category selected from dropdown
};
};
...
@@ -122,10 +122,10 @@ function calculateReadingTime() {
...
@@ -122,10 +122,10 @@ function calculateReadingTime() {
console
.
log
(
inputObj
);
console
.
log
(
inputObj
);
// TODO: logic or algorithm for calulating reading time goes here
// TODO: logic or algorithm for cal
c
ulating reading time goes here
// inputObj.textLength has number of characters (number data type)
// inputObj.textLength has number of characters (number data type)
// inputObj.readerLevel has level of reader (
string
data type)
// inputObj.readerLevel has level of reader (
number
data type)
// inputObj.readerCategory has category of reader (
string
data type)
// inputObj.readerCategory has category of reader (
number
data type)
// example calculation
// example calculation
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets