This website requires JavaScript.
Explore
Help
Sign In
OpenSourceArk
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
0f8610a6e9
Ghost
/
ghost
/
admin
/
app
/
templates
/
components
/
gh-alerts.hbs
3 lines
79 B
Handlebars
Raw
Normal View
History
Unescape
Escape
Ran "no implicit this in templates" codemod no issue We were in a part-way state where some touched files had been (sometimes partially) migrated to explicit `this`. The codemod that was available has now fixed the formatting issues it had so it was a good time to run it. https://github.com/ember-codemods/ember-no-implicit-this-codemod - part of the migration path for https://github.com/emberjs/rfcs/pull/308 - starts to make template resolution rules more explicit - `<MyComponent />` - always a component - `{{my-component}}` - component or helper (components _must_ have a `-`. This style of component will go away once fully migrated to angle bracket components) - `{{value}}` - a helper or local template variable - `{{this.value}}` - reference to a property on the backing context (either a controller or a component JS file)
2019-12-13 17:20:29 +03:00
{{
#
each
this
.messages
as
|
message
|
}}
fixed notification components
2015-05-21 20:03:24 +03:00
{{
gh-alert
message
=
message
}}
{{
/
each
}}
Reference in New Issue
Copy Permalink