Last active
December 19, 2015 14:49
-
-
Save wrumsby/5971698 to your computer and use it in GitHub Desktop.
ES6 module definition
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
| import { $ } from 'dollar'; | |
| Bolderiser = function () { | |
| }; | |
| Bolderiser.prototype = { | |
| embolden: function (id) { | |
| var el = $.byId(id); | |
| el.style.fontWeight = 'bold'; | |
| } | |
| }; | |
| export Bolderiser; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment