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
36463061
Commit
36463061
authored
Feb 19, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unneeded declaration
parent
7be40bff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
best-practices.md
best-practices.md
+1
-3
No files found.
best-practices.md
View file @
36463061
...
@@ -13,9 +13,7 @@
...
@@ -13,9 +13,7 @@
**if**
the CSS section of an UI component is rather limited it is preferable to put it in the corresponding JS file.
**if**
the CSS section of an UI component is rather limited it is preferable to put it in the corresponding JS file.
-
HTML declaration using
`yo-yo`
.
-
HTML declaration using
`yo-yo`
.
-
`opt`
is an input parameter, it contains the
`api`
and
`event`
object.
-
`self._api = opts.api`
`opts.api`
is an object which contains functions/features that the module needs.
-
`opts.events`
contains events manager the module will listen on.
-
A module trigger events using
`event`
property:
-
A module trigger events using
`event`
property:
`self.event = new EventManager()`
.
`self.event = new EventManager()`
.
Events can then be triggered:
Events can then be triggered:
...
...
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