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
18fe95e8
Commit
18fe95e8
authored
Jul 24, 2012
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug: The good callback is called after a job end.
parent
45b7f7d0
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
OfficeJS/lib/jio/jio.js
OfficeJS/lib/jio/jio.js
+6
-6
OfficeJS/lib/jio/jio.min.js
OfficeJS/lib/jio/jio.min.js
+2
-2
OfficeJS/src/jio/jio.outro.js
OfficeJS/src/jio/jio.outro.js
+5
-5
No files found.
OfficeJS/lib/jio/jio.js
View file @
18fe95e8
/*! JIO - v0.1.0 - 2012-0
6-20
/*! JIO - v0.1.0 - 2012-0
7-24
* Copyright (c) 2012 Nexedi; Licensed */
* Copyright (c) 2012 Nexedi; Licensed */
var
jio
=
(
function
()
{
var
jio
=
(
function
()
{
...
@@ -1595,7 +1595,7 @@ var jobRules = (function(spec, my) {
...
@@ -1595,7 +1595,7 @@ var jobRules = (function(spec, my) {
my
.
jobManager
=
jobManager
;
my
.
jobManager
=
jobManager
;
my
.
jobIdHandler
=
jobIdHandler
;
my
.
jobIdHandler
=
jobIdHandler
;
priv
.
storage
=
jioNamespace
.
storage
(
spec
,
my
)
;
priv
.
storage
_spec
=
spec
;
// initialize //
// initialize //
priv
.
init
=
function
()
{
priv
.
init
=
function
()
{
...
@@ -1686,7 +1686,7 @@ var jobRules = (function(spec, my) {
...
@@ -1686,7 +1686,7 @@ var jobRules = (function(spec, my) {
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
saveDocument
(
command
:
saveDocument
(
{
path
:
path
,
content
:
content
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
content
:
content
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -1715,7 +1715,7 @@ var jobRules = (function(spec, my) {
...
@@ -1715,7 +1715,7 @@ var jobRules = (function(spec, my) {
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
loadDocument
(
command
:
loadDocument
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -1741,7 +1741,7 @@ var jobRules = (function(spec, my) {
...
@@ -1741,7 +1741,7 @@ var jobRules = (function(spec, my) {
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
removeDocument
(
command
:
removeDocument
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -1770,7 +1770,7 @@ var jobRules = (function(spec, my) {
...
@@ -1770,7 +1770,7 @@ var jobRules = (function(spec, my) {
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
getDocumentList
(
command
:
getDocumentList
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
...
OfficeJS/lib/jio/jio.min.js
View file @
18fe95e8
This diff is collapsed.
Click to expand it.
OfficeJS/src/jio/jio.outro.js
View file @
18fe95e8
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
my
.
jobManager
=
jobManager
;
my
.
jobManager
=
jobManager
;
my
.
jobIdHandler
=
jobIdHandler
;
my
.
jobIdHandler
=
jobIdHandler
;
priv
.
storage
=
jioNamespace
.
storage
(
spec
,
my
)
;
priv
.
storage
_spec
=
spec
;
// initialize //
// initialize //
priv
.
init
=
function
()
{
priv
.
init
=
function
()
{
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
saveDocument
(
command
:
saveDocument
(
{
path
:
path
,
content
:
content
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
content
:
content
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
loadDocument
(
command
:
loadDocument
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
removeDocument
(
command
:
removeDocument
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
jobManager
.
addJob
(
jobManager
.
addJob
(
job
({
storage
:(
specificstorage
?
job
({
storage
:(
specificstorage
?
jioNamespace
.
storage
(
specificstorage
,
my
):
jioNamespace
.
storage
(
specificstorage
,
my
):
priv
.
storage
),
jioNamespace
.
storage
(
priv
.
storage_spec
,
my
)
),
command
:
getDocumentList
(
command
:
getDocumentList
(
{
path
:
path
,
option
:
option
},
my
)},
my
));
{
path
:
path
,
option
:
option
},
my
)},
my
));
};
};
...
...
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