Skip to content

Commit 1114932

Browse files
committed
Add uppercase filter.
1 parent 84bd7f8 commit 1114932

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

filter-uppercase.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Transform an input string to uppercase
3+
* @param {string} input
4+
* @return {string} uppercase string
5+
*/
6+
PolymerExpressions.prototype.uppercase = function(input){
7+
return input.toUpperCase();
8+
};

0 commit comments

Comments
 (0)