Skip to content

Commit 3eb55eb

Browse files
committed
Add lowercase filter.
1 parent accfc71 commit 3eb55eb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

filter-lowercase.js

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

0 commit comments

Comments
 (0)