jquery 초기 버전
jquery제작자 2006년 초기 버전 이네요. 소스를 보시면 참고 되는 부분이 꽤 많습니다. 출처 : https://genius.it/johnresig.com/files/jquery-original.html function $(a,c) { if ( a == null ) return ; // Since we're using Prototype's $ function, // be nice and have backwards compatability if ( typeof Prototype != "undefined" && a.constructor == String ) { var re = new RegExp ( "[^a-zA-Z0-9_-]" ); if ( !re.test(a) ) { var c = ((c&&c.documentElement) || document ); if ( c.getElementsByTagName(a).length == 0 ) { var obj = c.getElementById(a); if ( obj != null ) return obj; } } } // Load Dynamic Function List var self = { cur: $.Select(a,c), // The only two getters size: function () { return this .get().length; }, ...