JQuery
(function (window,undefined){ var jQuery = function(selector, context){ return new jQuery.fn.init(selector,context); } jQuery.fn = jQuery.prototype = { init: function (selector, undefined){
//todo sth initialization return this: }} jQuery.fn.init.prototype = jQuery.fn; window.jQuery = window.$ = jQuery; })(window);