Skip to content

Commit aa7c2d3

Browse files
committed
[DOC release] Update ember-glimmer top-level documentation.
- Tweak wording to mention Glimmer supports a subset of Handlebars - Update code samples to use documentation file paths
1 parent e1f8ad2 commit aa7c2d3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

packages/ember-glimmer/lib/index.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
/**
2-
[Glimmer](https://github.com/tildeio/glimmer) is a [Handlebars](http://handlebarsjs.com/)
3-
compatible templating engine used by Ember.js.
4-
Any valid Handlebars syntax is valid in an Ember template.
2+
[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.
53
64
### Showing a property
75
86
Templates manage the flow of an application's UI, and display state (through
97
the DOM) to a user. For example, given a component with the property "name",
108
that component's template can use the name in several ways:
119
12-
```javascript
13-
// app/components/person.js
10+
```app/components/person.js
1411
export default Ember.Component.extend({
1512
name: 'Jill'
1613
});
1714
```
1815
19-
```handlebars
20-
{{! app/components/person.hbs }}
16+
```app/components/person.hbs
2117
{{name}}
2218
<div>{{name}}</div>
2319
<span data-name={{name}}></span>

0 commit comments

Comments
 (0)