Added phaser build and hellophaser sample
This commit is contained in:
18
docs/scripts/jquery.sunlight.js
Normal file
18
docs/scripts/jquery.sunlight.js
Normal 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));
|
||||
Reference in New Issue
Block a user