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
21470902
Commit
21470902
authored
Jun 14, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
79121b69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
editor.js
src/app/editor/editor.js
+1
-1
registry.js
src/registry.js
+0
-1
No files found.
src/app/editor/editor.js
View file @
21470902
...
...
@@ -66,7 +66,7 @@ function Editor (opts = {}) {
var
self
=
this
var
eventsName
=
[
'breakpointCleared'
,
'breakpointAdded'
,
'sessionSwitched'
,
'contentChanged'
]
// not used for legacyEvent
var
{
uid
/* api, */
,
legacyEvents
}
=
registry
.
put
({
api
:
this
,
events
:
eventsName
,
name
:
'editor'
})
var
{
legacyEvents
}
=
registry
.
put
({
api
:
this
,
events
:
eventsName
,
name
:
'editor'
})
self
.
event
=
legacyEvents
var
el
=
yo
`<div id="input"></div>`
var
editor
=
ace
.
edit
(
el
)
...
...
src/registry.js
View file @
21470902
...
...
@@ -2,7 +2,6 @@ const moduleID = require('./module-id.js')
const
remixLib
=
require
(
'remix-lib'
)
const
EventManager
=
remixLib
.
EventManager
module
.
exports
=
class
registry
{
constructor
()
{
this
.
state
=
{}
...
...
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