JSFiddle - React, Tailwind, and code Playground
HTML
<style id="font">
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro|Metal+Mania|Quando|Amarante);
body {
font-family: sans-serf;
}
h1 {
font-family: 'Amarante';
color: red;
font-size: 40px;
}
</style>
<h1>Hello World!!!</h1>
JavaScript
(function($){
$.fn.fontLoader = function(options, callback){
var _this = function(element, callback){
};
return _this;
};
})(jQuery);
$('#font').fontLoader({ findChildren: true }, function(){
console.log(this);
});