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
38fb78da
Commit
38fb78da
authored
Mar 22, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OfficeJS updated to work with the latest version of JIO - conflict solver not implemented
parent
97c53972
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1123 additions
and
1079 deletions
+1123
-1079
index.html
index.html
+5
-4
lib/jio/jio.min.js
lib/jio/jio.min.js
+2
-3
lib/jio/jio.storage.min.js
lib/jio/jio.storage.min.js
+0
-3
lib/jio/localorcookiestorage.min.js
lib/jio/localorcookiestorage.min.js
+0
-3
src/js/officejs.js
src/js/officejs.js
+1116
-1066
No files found.
index.html
View file @
38fb78da
...
@@ -10,13 +10,14 @@
...
@@ -10,13 +10,14 @@
<script
type=
"text/javascript"
src=
"lib/jquery/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jquery/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jstorage/jstorage.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jstorage/jstorage.js"
></script>
<script
type=
"text/javascript"
src=
"lib/renderjs/renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"lib/renderjs/renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"lib/md5/md5.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/localorcookiestorage.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/jio.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/jio.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/base64/base64.js"
></script>
<script
type=
"text/javascript"
src=
"lib/sjcl/sjcl.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/sjcl/sjcl.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jsSha2/sha2.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jsSha2/sha2.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/jio.storage.min.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/localstorage.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/indexstorage.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/revisionstorage.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jio/replicaterevisionstorage.js"
></script>
</head>
</head>
<body>
<body>
...
...
lib/jio/jio.min.js
View file @
38fb78da
This diff is collapsed.
Click to expand it.
lib/jio/jio.storage.min.js
deleted
100644 → 0
View file @
97c53972
This diff is collapsed.
Click to expand it.
lib/jio/localorcookiestorage.min.js
deleted
100644 → 0
View file @
97c53972
/*! Local Or Cookie Storage - v0.1.0 - 2012-10-12
* Copyright (c) 2012 Nexedi; Licensed */
var
LocalOrCookieStorage
=
function
(){
var
e
=
function
(){
var
e
=
function
(){};
e
.
prototype
=
{
getItem
:
function
(
e
){
return
JSON
.
parse
(
localStorage
.
getItem
(
e
))},
setItem
:
function
(
e
,
t
){
if
(
e
)
return
localStorage
.
setItem
(
e
,
JSON
.
stringify
(
t
))},
getAll
:
function
(){
return
localStorage
},
deleteItem
:
function
(
e
){
e
&&
delete
localStorage
[
e
]}};
var
t
=
function
(){};
t
.
prototype
=
{
getItem
:
function
(
e
){
var
t
=
document
.
cookie
.
split
(
"
;
"
),
n
;
for
(
n
=
0
;
n
<
t
.
length
;
n
+=
1
){
var
r
=
t
[
n
].
substr
(
0
,
t
[
n
].
indexOf
(
"
=
"
)),
i
=
t
[
n
].
substr
(
t
[
n
].
indexOf
(
"
=
"
)
+
1
);
r
=
r
.
replace
(
/^
\s
+|
\s
+$/g
,
""
);
if
(
r
===
e
)
return
unescape
(
i
)}
return
null
},
setItem
:
function
(
e
,
t
){
return
t
!==
undefined
?(
document
.
cookie
=
e
+
"
=
"
+
JSON
.
stringify
(
t
)
+
"
;domain=
"
+
window
.
location
.
hostname
+
"
;path=
"
+
window
.
location
.
pathname
,
!
0
):
!
1
},
getAll
:
function
(){
var
e
=
{},
t
,
n
=
document
.
cookie
.
split
(
"
:
"
);
for
(
t
=
0
;
t
<
n
.
length
;
t
+=
1
){
var
r
=
n
[
t
].
substr
(
0
,
n
[
t
].
indexOf
(
"
=
"
)),
i
=
n
[
t
].
substr
(
n
[
t
].
indexOf
(
"
=
"
)
+
1
);
r
=
r
.
replace
(
/^
\s
+|
\s
+$/g
,
""
),
e
[
r
]
=
unescape
(
i
)}
return
e
},
deleteItem
:
function
(
e
){
document
.
cookie
=
e
+
"
=null;domain=
"
+
window
.
location
.
hostname
+
"
;path=
"
+
window
.
location
.
pathname
+
"
;expires=Thu, 01-Jan-1970 00:00:01 GMT
"
}};
try
{
return
localStorage
.
getItem
?
new
e
:
new
t
}
catch
(
n
){
return
new
t
}};
return
window
.
requirejs
?(
define
(
"
LocalOrCookieStorage
"
,[],
e
),
undefined
):
e
()}();
\ No newline at end of file
src/js/officejs.js
View file @
38fb78da
This diff is collapsed.
Click to expand it.
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