Skip to content

Commit 0d9a165

Browse files
committed
Reference word count, minor tweak.
1 parent ec2faf6 commit 0d9a165

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

filter-replace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ PolymerExpressions.prototype.replace = function (str, old, new_, maxCount) {
1515
}
1616

1717
return res;
18-
}
18+
};

polymer-filters.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<script src="filter-reverse.js"></script>
88
<script src="filter-replace.js"></script>
99
<script src="filter-startsWith.js"></script>
10+
<script src="filter-wordcount.js"></script>
1011

1112
<!--
1213
A collection of Polymer filters for formatting values of expressions for display to users
@@ -51,6 +52,10 @@
5152
{{name}}
5253
</template>
5354
55+
####Word count
56+
57+
{{'Hello World' | wordcount}}
58+
5459
@element polymer-filters
5560
@blurb A collection of Polymer filters for formatting values of expressions for display to users
5661
@homepage http://addyosmani.github.io/polymer-filters

0 commit comments

Comments
 (0)