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
a8752918
Commit
a8752918
authored
Oct 12, 2015
by
d11e9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix indentation/whitespce in index.html
parent
24efa2e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
60 deletions
+56
-60
index.html
index.html
+56
-60
No files found.
index.html
View file @
a8752918
<html>
<head>
<meta
charset=
"utf-8"
>
<!--
The MIT License (MIT)
Copyright (c) 2014, 2015, the individual contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<meta
http-equiv=
"X-UA-Compatible"
content=
"chrome=1"
>
<title>
Solidity realtime compiler and runtime
</title>
<link
rel=
"stylesheet"
href=
"assets/css/styles.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/pygment_trac.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/universal-dapp.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/browser-solidity.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/font-awesome.min.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<style
type=
"text/css"
>
</style>
<script
src=
"bin/list.js"
></script>
<script
src=
"assets/js/jquery-2.1.3.min.js"
></script>
<script
src=
"assets/js/ace.js"
></script>
<script
src=
"assets/js/mode-solidity.js"
></script>
<script
src=
"bin/soljson-latest.js"
></script>
<script
src=
"assets/js/ethereumjs-vm.js"
></script>
<script
src=
"assets/js/universal-dapp.js"
></script>
<script
src=
"assets/js/web3.min.js"
></script>
<script
src=
"assets/js/ballot.sol.js"
></script>
</head>
<body>
<head>
<meta
charset=
"utf-8"
>
<!--
The MIT License (MIT)
Copyright (c) 2014, 2015, the individual contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<meta
http-equiv=
"X-UA-Compatible"
content=
"chrome=1"
>
<title>
Solidity realtime compiler and runtime
</title>
<link
rel=
"stylesheet"
href=
"assets/css/styles.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/pygment_trac.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/universal-dapp.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/browser-solidity.css"
>
<link
rel=
"stylesheet"
href=
"assets/css/font-awesome.min.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
<script
src=
"bin/list.js"
></script>
<script
src=
"assets/js/jquery-2.1.3.min.js"
></script>
<script
src=
"assets/js/ace.js"
></script>
<script
src=
"assets/js/mode-solidity.js"
></script>
<script
src=
"bin/soljson-latest.js"
></script>
<script
src=
"assets/js/ethereumjs-vm.js"
></script>
<script
src=
"assets/js/universal-dapp.js"
></script>
<script
src=
"assets/js/web3.min.js"
></script>
<script
src=
"assets/js/ballot.sol.js"
></script>
</head>
<body>
<div
id=
"editor"
>
...
...
@@ -126,8 +123,8 @@ THE SOFTWARE.
// ------------------ gist load ----------------
function
getGistId
(
str
)
{
var
idr
=
/
[
0-9A-Fa-f
]{8,}
/
var
match
=
idr
.
exec
(
str
)[
0
]
var
idr
=
/
[
0-9A-Fa-f
]{8,}
/
;
var
match
=
idr
.
exec
(
str
)[
0
];
return
match
;
}
...
...
@@ -138,7 +135,7 @@ THE SOFTWARE.
var
gistId
;
var
key
=
location_hash_params
[
index
+
1
];
if
(
key
===
''
)
{
var
str
=
prompt
(
"Enter the URL or ID of the Gist you'd like to load."
)
var
str
=
prompt
(
"Enter the URL or ID of the Gist you'd like to load."
);
if
(
str
!==
''
)
{
gistId
=
getGistId
(
str
);
loadingFromGist
=
true
;
...
...
@@ -235,7 +232,7 @@ THE SOFTWARE.
// ------------------ gist publish --------------
$
(
'#gist'
).
click
(
function
(){
if
(
confirm
(
"Are you sure you want to publish all your files anonymously as a public gist on github.com
"
))
{
if
(
confirm
(
"Are you sure you want to publish all your files anonymously as a public gist on github.com?
"
))
{
var
files
=
{};
var
filesArr
=
getFiles
();
...
...
@@ -261,7 +258,7 @@ THE SOFTWARE.
}
});
}
})
});
// ----------------- file selector-------------
...
...
@@ -272,7 +269,7 @@ THE SOFTWARE.
SOL_CACHE_FILE
=
SOL_CACHE_UNTITLED
+
untitledCount
;
window
.
localStorage
[
SOL_CACHE_FILE
]
=
''
;
updateFiles
();
})
});
$filesEl
.
on
(
'click'
,
'.file:not(.active)'
,
showFileHandler
);
...
...
@@ -449,7 +446,7 @@ THE SOFTWARE.
else
getEditorSize
();
// ----------------- toggle right hand panel
// ----------------- toggle right hand panel -----------------
var
toggledRHP
=
false
;
$
(
'.toggleRHP'
).
click
(
function
(){
...
...
@@ -634,7 +631,6 @@ THE SOFTWARE.
var
combined
=
function
(
contractName
,
interface
,
bytecode
){
return
JSON
.
stringify
([{
name
:
contractName
,
interface
:
interface
,
bytecode
:
bytecode
}]);
};
var
renderContracts
=
function
(
data
,
source
)
{
...
...
@@ -779,5 +775,5 @@ THE SOFTWARE.
});
</script>
</body>
</body>
</html>
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