Tone.js/utils/doc_config/vendors/static/scripts/jquery.sunlight.js
Yotam Mann d9b347bdfd moved doc_config into vendors
so github won’t think my repo is 65% css
2014-09-12 10:00:06 -04:00

18 lines
No EOL
403 B
JavaScript

/**
* jQuery plugin for Sunlight http://sunlightjs.com/
*
* by Tommy Montgomery http://tmont.com/
* licensed under WTFPL http://sam.zoy.org/wtfpl/
*/
(function($, window){
$.fn.sunlight = function(options) {
var highlighter = new window.Sunlight.Highlighter(options);
this.each(function() {
highlighter.highlightNode(this);
});
return this;
};
}(jQuery, this));