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
1366f359
Commit
1366f359
authored
Aug 02, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gist publish alert
parent
070a0d41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app.js
src/app.js
+1
-1
files-tab.js
src/app/files-tab.js
+3
-2
No files found.
src/app.js
View file @
1366f359
/* global confirm,
prompt,
Option, Worker, chrome */
/* global confirm, Option, Worker, chrome */
'use strict'
'use strict'
var
async
=
require
(
'async'
)
var
async
=
require
(
'async'
)
...
...
src/app/files-tab.js
View file @
1366f359
/* global
alert,
confirm, prompt */
/* global confirm, prompt */
var
yo
=
require
(
'yo-yo'
)
var
yo
=
require
(
'yo-yo'
)
var
$
=
require
(
'jquery'
)
var
$
=
require
(
'jquery'
)
var
modalDialogCustom
=
require
(
'./modal-dialog-custom'
)
var
QueryParams
=
require
(
'./query-params'
)
var
QueryParams
=
require
(
'./query-params'
)
var
queryParams
=
new
QueryParams
()
var
queryParams
=
new
QueryParams
()
...
@@ -70,7 +71,7 @@ function filesTab (container, appAPI, events, opts) {
...
@@ -70,7 +71,7 @@ function filesTab (container, appAPI, events, opts) {
}
}
}).
fail
(
function
(
xhr
,
text
,
err
)
{
}).
fail
(
function
(
xhr
,
text
,
err
)
{
console
.
log
(
'fail'
,
text
)
console
.
log
(
'fail'
,
text
)
alert
(
'Failed to create gist: '
+
(
err
||
'Unknown transport error'
))
modalDialogCustom
.
alert
(
'Failed to create gist: '
+
(
err
||
'Unknown transport error'
))
})
})
}
}
})
})
...
...
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