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
add5497c
Commit
add5497c
authored
Aug 21, 2012
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug: jobManager can use storage constructors correctly
parent
060bb605
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
OfficeJS/src/jio/jio.outro.js
OfficeJS/src/jio/jio.outro.js
+1
-0
OfficeJS/src/jio/jioNamespace.js
OfficeJS/src/jio/jioNamespace.js
+1
-1
OfficeJS/src/jio/jobs/jobManager.js
OfficeJS/src/jio/jobs/jobManager.js
+1
-1
No files found.
OfficeJS/src/jio/jio.outro.js
View file @
add5497c
...
...
@@ -53,6 +53,7 @@
return
storage_type_object
[
type
](
spec
,
my
);
}
});
jobManager
.
storage
=
that
.
storage
;
Object
.
defineProperty
(
that
,
"
start
"
,{
configurable
:
false
,
enumerable
:
false
,
writable
:
false
,
value
:
...
...
OfficeJS/src/jio/jioNamespace.js
View file @
add5497c
var
storage_type_object
=
{
// -> 'key':constructorFunction
'
base
'
:
function
()
{}
// over
id
den by jio
'
base
'
:
function
()
{}
// over
ri
den by jio
};
var
jioNamespace
=
(
function
(
spec
)
{
var
that
=
{};
...
...
OfficeJS/src/jio/jobs/jobManager.js
View file @
add5497c
...
...
@@ -139,7 +139,7 @@ var jobManager = (function(spec) {
var
command_object
=
command
(
jio_job_array
[
i
].
command
);
if
(
command_object
.
canBeRestored
())
{
that
.
addJob
(
job
(
{
storage
:
jio
.
storage
(
jio_job_array
[
i
].
storage
),
{
storage
:
that
.
storage
(
jio_job_array
[
i
].
storage
),
command
:
command_object
}));
}
}
...
...
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