Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Mynij
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alexandra Rogova
Mynij
Commits
9c1ad6f8
Commit
9c1ad6f8
authored
May 27, 2019
by
Alexandra Rogova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed paths again
parent
a30ae728
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
gadget_parser.js
gadget_parser.js
+1
-2
search.html
search.html
+3
-3
search.js
search.js
+2
-1
No files found.
gadget_parser.js
View file @
9c1ad6f8
...
...
@@ -6,7 +6,7 @@
.
declareAcquiredMethod
(
"
get_model
"
,
"
get_model
"
)
.
declareMethod
(
"
read
F
ile
"
,
function
(
link
)
{
.
declareMethod
(
"
read
_f
ile
"
,
function
(
link
)
{
var
storage
;
var
gadget
=
this
;
gadget
.
get_model
()
...
...
@@ -74,7 +74,6 @@
.
push
(
function
(
result
){
var
i
;
for
(
i
=
0
;
i
<
result
.
data
.
rows
.
length
;
i
+=
1
){
//console.log(result.data.rows[i].id);
if
(
result
.
data
.
rows
[
i
].
id
===
title
)
return
true
;
}
return
false
;
...
...
search.html
View file @
9c1ad6f8
...
...
@@ -2,9 +2,9 @@
<html>
<head>
<title>
Mynij
</title>
<script
src=
"./external/rsvp-2.0.4.js"
></script>
<script
src=
".
/external
/jio-latest.js"
></script>
<script
src=
".
/external
/renderjs-latest.js"
></script>
<script
src=
".
./jio
/external/rsvp-2.0.4.js"
></script>
<script
src=
".
./jio/dist
/jio-latest.js"
></script>
<script
src=
".
./renderjs/dist
/renderjs-latest.js"
></script>
<script
src=
"search.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"mynij.css"
>
</head>
...
...
search.js
View file @
9c1ad6f8
...
...
@@ -60,7 +60,8 @@
promise_list
=
[],
i
;
for
(
i
=
0
;
i
<
gadget
.
state
.
to_load
.
length
;
i
++
){
promise_list
.
push
(
gadget
.
state
.
parser_gadget
.
readFile
(
"
./test-files/
"
+
gadget
.
state
.
to_load
[
i
]));
//console.log(gadget.state.parser_gadget);
promise_list
.
push
(
gadget
.
state
.
parser_gadget
.
read_file
(
"
./test-files/
"
+
gadget
.
state
.
to_load
[
i
]));
}
RSVP
.
all
(
promise_list
);
})
...
...
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