Toggle navigation
Toggle navigation
This project
Loading...
Sign in
kkl
/
Probability Death
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승규
2019-06-05 16:33:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2ef021c1304d8bc53f2fae6a5a03ae266ee578a4
2ef021c1
1 parent
dfece1ea
syntax error solved
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
routes/index.js
views/index.ejs
routes/index.js
View file @
2ef021c
...
...
@@ -131,7 +131,7 @@ router.get('/Cname/:Cname/Cbirth/:Cbirth', (req,res) => {
dataLen
,
name
,
birth
,
factorArr
,
factorArr
});
}
});
...
...
views/index.ejs
View file @
2ef021c
...
...
@@ -176,10 +176,11 @@
i
++
;
}
<%
for
(
var
n
;
n
<
prob
Arr
.
length
;
n
++
)
{
%>
<%
for
(
var
n
=
0
;
n
<
factor
Arr
.
length
;
n
++
)
{
%>
var
temp
,
temp2
;
temp
=
<%=
probArr
[
n
]
%>
;
temp2
=
<%=
factorArr
[
n
]
%>
;
temp2
=
'<%=factorArr[n] %>'
;
console
.
log
(
temp2
);
// for(;j<10;j++)
// {
...
...
Please
register
or
login
to post a comment