Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
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
nexedi
officejs
Commits
73a1788f
Commit
73a1788f
authored
May 16, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show how to render part of the user interface as cached gadgets
parent
681d743b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
poc/renderjs/gadget/cached_navigation.html
poc/renderjs/gadget/cached_navigation.html
+4
-0
poc/renderjs/js/renderjs_poc.js
poc/renderjs/js/renderjs_poc.js
+1
-1
No files found.
poc/renderjs/gadget/cached_navigation.html
0 → 100644
View file @
73a1788f
<div
gadget=
"gadget/navigation.html"
id=
"navigation"
gadget:property=
' {"cacheable": "1", "cache_id": "navigation"}'
>
</div>
\ No newline at end of file
poc/renderjs/js/renderjs_poc.js
View file @
73a1788f
/* trigger when page is ready */
$
(
document
).
ready
(
function
(){
TabbularGadget
.
addNewTabGadget
(
'
gadget/
nagiv
ation.html
'
,
'
gadget-header
'
,
undefined
);
TabbularGadget
.
addNewTabGadget
(
'
gadget/
cached_navig
ation.html
'
,
'
gadget-header
'
,
undefined
);
TabbularGadget
.
addNewTabGadget
(
'
gadget/article.html
'
,
'
gadget-article
'
,
undefined
);
});
\ No newline at end of file
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