Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions packages/ember-glimmer/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
/**
[Glimmer](https://github.com/tildeio/glimmer) is a [Handlebars](http://handlebarsjs.com/)
compatible templating engine used by Ember.js.
Any valid Handlebars syntax is valid in an Ember template.
[Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.
### Showing a property
Templates manage the flow of an application's UI, and display state (through
the DOM) to a user. For example, given a component with the property "name",
that component's template can use the name in several ways:
```javascript
// app/components/person.js
```app/components/person.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not believe this syntax work with our YUIDoc parser, does it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export default Ember.Component.extend({
name: 'Jill'
});
```
```handlebars
{{! app/components/person.hbs }}
```app/components/person.hbs
{{name}}
<div>{{name}}</div>
<span data-name={{name}}></span>
Expand Down