Created
July 2, 2013 08:25
-
-
Save wrumsby/5907620 to your computer and use it in GitHub Desktop.
AMD module definition
This file contains 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
define(['jquery'], function ($) { | |
'use strict'; | |
var Bolderiser = function (); | |
Bolderiser.prototype = { | |
embolden: function (el) { | |
var $el = $(el); | |
$el.css('font-weight', 'bold'); | |
} | |
}; | |
return Bolderiser; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment