Created
July 4, 2016 06:08
-
-
Save petersirka/9bbfc70e780fe5c1e85ffb2034acc3fa to your computer and use it in GitHub Desktop.
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
COMPONENT('mycomponent', function() { | |
var self = this; | |
self.setter = function(value) { | |
if (value == null) | |
value = ''; | |
self.html(value); | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment