Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-webclient
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-webclient
Commits
d6e80ffa
Commit
d6e80ffa
authored
Jul 02, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some values
parent
710ef58e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.js
src/Modal/index.js
+4
-4
config.js
src/config.js
+3
-3
No files found.
src/Modal/index.js
View file @
d6e80ffa
...
...
@@ -92,14 +92,14 @@ class TypoModal extends Component {
// Typo text
text
:
this
.
state
.
text
,
//
Corrected variant (legacy name "comment")
comment
:
this
.
state
.
co
rrec
t
,
//
This is a comment for a correction
comment
:
this
.
state
.
co
mmen
t
,
// TODO: context
context
:
this
.
state
.
context
,
// This is a co
mment for a correction
note
:
this
.
state
.
commen
t
,
// This is a co
rrect variant
corrected
:
this
.
state
.
correc
t
,
}
try
{
...
...
src/config.js
View file @
d6e80ffa
export
const
config
=
{
maxTypoLength
:
5
0
,
minTypoLength
:
4
,
maxCorrectLength
:
10
0
,
maxTypoLength
:
3
0
,
minTypoLength
:
5
,
maxCorrectLength
:
5
0
,
minCorrectLength
:
1
,
//serverUrl: "//eterfund.ru/api/typos/server.php",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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