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
b713ce1a
Commit
b713ce1a
authored
Mar 20, 2017
by
chriseth
Committed by
GitHub
Mar 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #475 from ethereum/safari-private-mode
Issue warning if localstorage fails
parents
b16f3e00
a0164ed7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
app.js
src/app.js
+3
-1
No files found.
src/app.js
View file @
b713ce1a
...
...
@@ -111,7 +111,9 @@ var run = function () {
// insert ballot contract if there are no files available
if
(
!
loadingFromGist
&&
Object
.
keys
(
files
.
list
()).
length
===
0
)
{
files
.
set
(
examples
.
ballot
.
name
,
examples
.
ballot
.
content
)
if
(
!
files
.
set
(
examples
.
ballot
.
name
,
examples
.
ballot
.
content
))
{
alert
(
'Failed to store example contract in browser. Remix will not work properly. Please ensure Remix has access to LocalStorage. Safari in Private mode is known not to work.'
)
}
}
// ----------------- Chrome cloud storage sync --------------------
...
...
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