Tidying up the repo and adding in new documentation.

This commit is contained in:
photonstorm
2013-10-23 14:00:29 +01:00
parent 4a51ac4671
commit ffd5ddc534
375 changed files with 4617 additions and 32924 deletions
+18
View File
@@ -0,0 +1,18 @@
/**
* 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));