Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
504e6d78
Commit
504e6d78
authored
Jun 08, 2016
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standard: use single quotes
parent
46c142ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app.js
src/app.js
+1
-1
compiler-worker.js
src/app/compiler-worker.js
+4
-4
No files found.
src/app.js
View file @
504e6d78
...
...
@@ -56,7 +56,7 @@ var run = function () {
// -------- check file upload capabilities -------
if
(
!
(
window
.
File
||
window
.
FileReader
||
window
.
FileList
||
window
.
Blob
))
{
$
(
".uploadFile"
).
remove
();
$
(
'.uploadFile'
).
remove
();
}
// ------------------ gist load ----------------
...
...
src/app/compiler-worker.js
View file @
504e6d78
...
...
@@ -12,9 +12,9 @@ module.exports = function (self) {
compileJSON
=
null
;
importScripts
(
data
.
data
);
version
=
Module
.
cwrap
(
"version"
,
"string"
,
[]);
version
=
Module
.
cwrap
(
'version'
,
'string'
,
[]);
if
(
'_compileJSONCallback'
in
Module
)
{
var
compileJSONInternal
=
Module
.
cwrap
(
"compileJSONCallback"
,
"string"
,
[
"string"
,
"number"
,
"number"
]);
var
compileJSONInternal
=
Module
.
cwrap
(
'compileJSONCallback'
,
'string'
,
[
'string'
,
'number'
,
'number'
]);
var
missingInputCallback
=
Module
.
Runtime
.
addFunction
(
function
(
path
)
{
missingInputs
.
push
(
Module
.
Pointer_stringify
(
path
));
});
...
...
@@ -22,9 +22,9 @@ module.exports = function (self) {
return
compileJSONInternal
(
input
,
optimize
,
missingInputCallback
);
};
}
else
if
(
'_compileJSONMulti'
in
Module
)
{
compileJSON
=
Module
.
cwrap
(
"compileJSONMulti"
,
"string"
,
[
"string"
,
"number"
]);
compileJSON
=
Module
.
cwrap
(
'compileJSONMulti'
,
'string'
,
[
'string'
,
'number'
]);
}
else
{
compileJSON
=
Module
.
cwrap
(
"compileJSON"
,
"string"
,
[
"string"
,
"number"
]);
compileJSON
=
Module
.
cwrap
(
'compileJSON'
,
'string'
,
[
'string'
,
'number'
]);
}
postMessage
({
cmd
:
'versionLoaded'
,
...
...
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