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
164416d8
Commit
164416d8
authored
Aug 28, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use requirejs when possible.
parent
cd5ab325
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
OfficeJS/src/renderjs/examples/hello_world/index.html
OfficeJS/src/renderjs/examples/hello_world/index.html
+1
-1
OfficeJS/src/renderjs/examples/interactions/index.html
OfficeJS/src/renderjs/examples/interactions/index.html
+1
-1
OfficeJS/src/renderjs/renderjs.js
OfficeJS/src/renderjs/renderjs.js
+6
-0
No files found.
OfficeJS/src/renderjs/examples/hello_world/index.html
View file @
164416d8
<html>
<html>
<head>
<head>
<!-- Use proper path -->
<!-- Use proper path -->
<script
src=
"../../../../lib/require/require.js"
>
</script>
<script
src=
"../../../../lib/jquery/jquery.js"
>
</script>
<script
src=
"../../../../lib/jquery/jquery.js"
>
</script>
<script
src=
"../../../../lib/jstorage/jstorage.js"
>
</script>
<script
type=
"text/javascript"
src=
"../../renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"../../renderjs.js"
></script>
<head>
<head>
<body>
<body>
...
...
OfficeJS/src/renderjs/examples/interactions/index.html
View file @
164416d8
<html>
<html>
<head>
<head>
<script
src=
"../../../../lib/require/require.js"
>
</script>
<script
src=
"../../../../lib/jquery/jquery.js"
>
</script>
<script
src=
"../../../../lib/jquery/jquery.js"
>
</script>
<script
src=
"../../../../lib/jstorage/jstorage.js"
>
</script>
<script
type=
"text/javascript"
src=
"../../renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"../../renderjs.js"
></script>
<head>
<head>
<body>
<body>
...
...
OfficeJS/src/renderjs/renderjs.js
View file @
164416d8
// Add required by RenderJs jstorage library only if used HTML application uses requirejs
if
(
typeof
require
!==
'
undefined
'
)
{
require
([
"
../../../../lib/jstorage/jstorage.js
"
],
function
(
util
)
{
});
}
// fallback for IE
// fallback for IE
if
(
typeof
console
===
"
undefined
"
||
typeof
console
.
log
===
"
undefined
"
)
{
if
(
typeof
console
===
"
undefined
"
||
typeof
console
.
log
===
"
undefined
"
)
{
console
=
{};
console
=
{};
...
...
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