Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cribjs
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
cribjs
Commits
9bd914cd
Commit
9bd914cd
authored
Sep 24, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Crib Enable: Add proper interface
parent
9ee89bcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
1 deletion
+39
-1
crib-enable-interface.html
crib-enable-interface.html
+38
-0
crib-enable.html
crib-enable.html
+1
-1
No files found.
crib-enable-interface.html
0 → 100644
View file @
9bd914cd
<!DOCTYPE html>
<html>
<head>
<title>
Crib Enable Interface
</title>
</head>
<body>
<h1>
Crib Enable Interface
</h1>
<h3>
Interface Needed to edit with CribJS
</h3>
<dl>
<dt>
get
</dt>
<dd>
Return a data url. Cannot return a blob as the data is transmitted through an iFrame
</dd>
<dl>
<dt
data-parameter-required=
"required"
data-parameter-type=
"string"
>
url
</dt>
<dd>
url of the document to retrieve
</dd>
</dl>
<dt>
put
</dt>
<dd>
Return a data url. Cannot provide a blob as the data is transmitted through an iFrame
</dd>
<dl>
<dt
data-parameter-required=
"required"
data-parameter-type=
"string"
>
url
</dt>
<dd>
url of the document to update
</dd>
<dt
data-parameter-required=
"required"
data-parameter-type=
"data-uri"
>
parameter
</dt>
<dd>
data url of the document to put, it will be transformed in a blob
</dd>
</dl>
<dt>
allDocs
</dt>
<dd>
return the list of document in the cache
</dd>
<dl>
<dt
data-parameter-required=
"optional"
data-parameter-type=
"object"
>
option_dict
</dt>
<dd>
XXX Not Taken into account at the moment
</dd>
</dl>
<dt>
remove
</dt>
<dd>
Remove an url from the cache
</dd>
<dl>
<dt
data-parameter-required=
"required"
data-parameter-type=
"string"
>
url
</dt>
<dd>
url of the document to update
</dd>
</dl>
</dl>
</body>
</html>
\ No newline at end of file
crib-enable.html
View file @
9bd914cd
...
...
@@ -3,8 +3,8 @@
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"crib-enable-interface.html"
>
<title>
Jio Gadget
</title>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_jio.html"
>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
...
...
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