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
f9cec3d9
Commit
f9cec3d9
authored
Jun 22, 2011
by
François Billioud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asynchron load
parent
03d57c2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
UNGProject/theme.html
UNGProject/theme.html
+5
-4
No files found.
UNGProject/theme.html
View file @
f9cec3d9
...
...
@@ -33,7 +33,8 @@
// initialize
var
initPage
=
function
()
{
var
pageIWantToTest
=
"
illustration
"
;
var
pageIWantToTest
=
"
editor
"
;
addressOfTestDocument
=
"
dav/temp.json
"
;
setCurrentPage
(
pageIWantToTest
);
}
...
...
@@ -44,13 +45,13 @@
}
var
initDocument
=
function
()
{
loadXHR
(
"
dav/temp2.json
"
);
loadXHR
(
addressOfTestDocument
);
}
var
init
=
function
()
{
initPage
();
waitBeforeExecution
(
getCurrentPage
()
,
initUser
);
waitBeforeExecution
(
getCurrentPage
().
getEditor
()
,
initDocument
);
requireBeforeSucceed
(
function
()
{
return
getCurrentPage
().
getXML
();}
,
initUser
);
requireBeforeSucceed
(
function
()
{
return
getCurrentPage
().
getEditor
();}
,
initDocument
);
}
$
(
document
).
ready
(
init
);
</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