/* * gameQuery rev. $Revision$ * * Copyright (c) 2008 Selim Arsever (gamequery.onaluf.org) * licensed under the MIT (MIT-LICENSE.txt) */ // this allow to used the convenient $ notation in a plugins (function($) { // Here is a bogus soundWrapper written as an example $.extend({ SoundWrapper: function(url) { this.ready = false; // start loading the sound. Should turn this.ready to true once done. this.load = function(){this.ready = true}; // plays the sound if this.ready == true this.play = function(){}; // pauses the sound if it is playing this.pause = function(){}; // stops the sound if it is playing, rewind (even if paused) this.stop = function(){}; }},$.gameQuery); })(jQuery);