Skip to content

Commit cbdbdf8

Browse files
committed
Move style block to within template element.
1 parent b449653 commit cbdbdf8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ OR, start typing the prefix for an element and hit `ctrl+space` to fuzzy search
2424

2525
```html
2626
<dom-module id="$1">
27-
<style>
28-
:host {
29-
display: block;
30-
}
31-
</style>
3227
<template>
28+
<style>
29+
:host {
30+
display: block;
31+
}
32+
</style>
3333
$2
3434
</template>
3535
<script>

polymer-element.sublime-snippet

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<snippet>
22
<content><![CDATA[
33
<dom-module id="$1">
4-
<style>
5-
:host {
6-
display: block;
7-
}
8-
</style>
94
<template>
5+
<style>
6+
:host {
7+
display: block;
8+
}
9+
</style>
1010
$2
1111
</template>
1212
<script>

0 commit comments

Comments
 (0)