Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rjs_json_form
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
Jérome Perrin
rjs_json_form
Commits
53ba19bf
Commit
53ba19bf
authored
May 17, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove schema downloaded cache as
@romain
suggested
parent
f6626c69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
gadget_json_generated_form.js
gadget_json_generated_form.js
+1
-12
No files found.
gadget_json_generated_form.js
View file @
53ba19bf
...
...
@@ -173,17 +173,7 @@
}
hash
=
url
.
hash
;
url
=
url
.
href
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
if
(
g
.
props
.
schema_cache
.
hasOwnProperty
(
download_url
))
{
return
g
.
props
.
schema_cache
[
download_url
];
}
return
downloadJSON
(
download_url
)
.
push
(
function
(
json
)
{
g
.
props
.
schema_cache
[
download_url
]
=
json
;
return
json
;
});
})
return
downloadJSON
(
download_url
)
.
push
(
function
(
json
)
{
checkCircular
(
g
,
path
,
url
);
return
resolveLocalReference
(
json
,
hash
);
...
...
@@ -503,7 +493,6 @@
// it's need for schema uri computation
g
.
props
.
schema
=
{};
g
.
props
.
schema_map
=
{};
g
.
props
.
schema_cache
=
{};
// schema_required_urls[path] = [
// stack required urls, on every unrequired field stack begining from []
// "url1",
...
...
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