This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var MyApp = { | |
| addPlaceholders: function(props) { | |
| // default configuration | |
| var config = { | |
| 'class': 'placeholder' // apply CSS classes to an input displaying a placeholder | |
| }; | |
| // if any properties were supplied, apply them to the config object |
NewerOlder