1
0

jQuery.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. smalltalk.addClass('JQuery', smalltalk.Object, ['jquery'], 'JQuery');
  2. smalltalk.addMethod(
  3. '_removeAttribute_',
  4. smalltalk.method({
  5. selector: 'removeAttribute:',
  6. category: 'attributes',
  7. fn: function (aString){
  8. var self=this;
  9. return self._call_withArgument_("removeAttribute",aString);
  10. return self;},
  11. source: unescape('removeAttribute%3A%20aString%0A%20%20%20%20%22Remove%20an%20attribute%20from%20each%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27removeAttribute%27%20withArgument%3A%20aString%0A')}),
  12. smalltalk.JQuery);
  13. smalltalk.addMethod(
  14. '_attr_',
  15. smalltalk.method({
  16. selector: 'attr:',
  17. category: 'attributes',
  18. fn: function (aString){
  19. var self=this;
  20. return self._call_withArgument_("attr",aString);
  21. return self;},
  22. source: unescape('attr%3A%20aString%0A%20%20%20%20%22Get%20the%20value%20of%20an%20attribute%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27attr%27%20withArgument%3A%20aString%0A')}),
  23. smalltalk.JQuery);
  24. smalltalk.addMethod(
  25. '_val',
  26. smalltalk.method({
  27. selector: 'val',
  28. category: 'attributes',
  29. fn: function (){
  30. var self=this;
  31. return self._call_("val");
  32. return self;},
  33. source: unescape('val%0A%20%20%20%20%22Get%20the%20current%20value%20of%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27val%27%0A')}),
  34. smalltalk.JQuery);
  35. smalltalk.addMethod(
  36. '_val_',
  37. smalltalk.method({
  38. selector: 'val:',
  39. category: 'attributes',
  40. fn: function (aString){
  41. var self=this;
  42. self._call_withArgument_("val",aString);
  43. return self;},
  44. source: unescape('val%3A%20aString%0A%20%20%20%20self%20call%3A%20%27val%27%20withArgument%3A%20aString%0A')}),
  45. smalltalk.JQuery);
  46. smalltalk.addMethod(
  47. '_cssAt_',
  48. smalltalk.method({
  49. selector: 'cssAt:',
  50. category: 'css',
  51. fn: function (aString){
  52. var self=this;
  53. return (function(){return self['@jquery'].css(aString)})();
  54. return self;},
  55. source: unescape('cssAt%3A%20aString%0A%20%20%20%20%5E%7B%27return%20self%5B%27%27@jquery%27%27%5D.css%28aString%29%27%7D%0A')}),
  56. smalltalk.JQuery);
  57. smalltalk.addMethod(
  58. '_cssAt_put_',
  59. smalltalk.method({
  60. selector: 'cssAt:put:',
  61. category: 'css',
  62. fn: function (aString, anotherString){
  63. var self=this;
  64. (function(){self['@jquery'].css(aString, anotherString)})();
  65. return self;},
  66. source: unescape('cssAt%3A%20aString%20put%3A%20anotherString%0A%20%20%20%20%7B%27self%5B%27%27@jquery%27%27%5D.css%28aString%2C%20anotherString%29%27%7D%0A')}),
  67. smalltalk.JQuery);
  68. smalltalk.addMethod(
  69. '_addClass_',
  70. smalltalk.method({
  71. selector: 'addClass:',
  72. category: 'css',
  73. fn: function (aString){
  74. var self=this;
  75. self._call_withArgument_("addClass",aString);
  76. return self;},
  77. source: unescape('addClass%3A%20aString%0A%20%20%20%20%22Adds%20the%20specified%20class%28es%29%20to%20each%20of%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20self%20call%3A%20%27addClass%27%20withArgument%3A%20aString%0A')}),
  78. smalltalk.JQuery);
  79. smalltalk.addMethod(
  80. '_removeClass_',
  81. smalltalk.method({
  82. selector: 'removeClass:',
  83. category: 'css',
  84. fn: function (aString){
  85. var self=this;
  86. self._call_withArgument_("removeClass",aString);
  87. return self;},
  88. source: unescape('removeClass%3A%20aString%0A%20%20%20%20%22Remove%20a%20single%20class%2C%20multiple%20classes%2C%20or%20all%20classes%20from%20each%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20self%20call%3A%20%27removeClass%27%20withArgument%3A%20aString%0A')}),
  89. smalltalk.JQuery);
  90. smalltalk.addMethod(
  91. '_toggleClass_',
  92. smalltalk.method({
  93. selector: 'toggleClass:',
  94. category: 'css',
  95. fn: function (aString){
  96. var self=this;
  97. self._call_withArgument_("toggleClass",aString);
  98. return self;},
  99. source: unescape('toggleClass%3A%20aString%0A%20%20%20%20%22Add%20or%20remove%20one%20or%20more%20classes%20from%20each%20element%20in%20the%20set%20of%20matched%20elements%2C%20depending%20on%20either%20the%20class%27s%20presence%20or%20the%20value%20of%20the%20switch%20argument.%22%0A%20%20%20%20self%20call%3A%20%27toggleClass%27%20withArgument%3A%20aString%0A')}),
  100. smalltalk.JQuery);
  101. smalltalk.addMethod(
  102. '_height',
  103. smalltalk.method({
  104. selector: 'height',
  105. category: 'css',
  106. fn: function (){
  107. var self=this;
  108. return self._call_("height");
  109. return self;},
  110. source: unescape('height%20%0A%20%20%20%20%22Get%20the%20current%20computed%20height%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27height%27%0A')}),
  111. smalltalk.JQuery);
  112. smalltalk.addMethod(
  113. '_height_',
  114. smalltalk.method({
  115. selector: 'height:',
  116. category: 'css',
  117. fn: function (anInteger){
  118. var self=this;
  119. self._call_withArgument_("height",anInteger);
  120. return self;},
  121. source: unescape('height%3A%20anInteger%0A%20%20%20%20self%20call%3A%20%27height%27%20withArgument%3A%20anInteger%0A')}),
  122. smalltalk.JQuery);
  123. smalltalk.addMethod(
  124. '_width_',
  125. smalltalk.method({
  126. selector: 'width:',
  127. category: 'css',
  128. fn: function (anInteger){
  129. var self=this;
  130. self._call_withArgument_("width",anInteger);
  131. return self;},
  132. source: unescape('width%3A%20anInteger%0A%20%20%20%20self%20call%3A%20%27width%27%20withArgument%3A%20anInteger%0A')}),
  133. smalltalk.JQuery);
  134. smalltalk.addMethod(
  135. '_width',
  136. smalltalk.method({
  137. selector: 'width',
  138. category: 'css',
  139. fn: function (){
  140. var self=this;
  141. return self._call_("width");
  142. return self;},
  143. source: unescape('width%0A%20%20%20%20%22Get%20the%20current%20computed%20width%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27width%27%0A')}),
  144. smalltalk.JQuery);
  145. smalltalk.addMethod(
  146. '_innerHeight',
  147. smalltalk.method({
  148. selector: 'innerHeight',
  149. category: 'css',
  150. fn: function (){
  151. var self=this;
  152. return self._call_("innerHeight");
  153. return self;},
  154. source: unescape('innerHeight%0A%20%20%20%20%22Get%20the%20current%20computed%20height%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20including%20padding%20but%20not%20border.%22%0A%20%20%20%20%5Eself%20call%3A%20%27innerHeight%27%0A')}),
  155. smalltalk.JQuery);
  156. smalltalk.addMethod(
  157. '_innerWidth',
  158. smalltalk.method({
  159. selector: 'innerWidth',
  160. category: 'css',
  161. fn: function (){
  162. var self=this;
  163. return self._call_("innerWidth");
  164. return self;},
  165. source: unescape('innerWidth%0A%20%20%20%20%22Get%20the%20current%20computed%20width%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20including%20padding%20but%20not%20border.%22%0A%20%20%20%20%5Eself%20call%3A%20%27innerWidth%27%0A')}),
  166. smalltalk.JQuery);
  167. smalltalk.addMethod(
  168. '_outerHeight',
  169. smalltalk.method({
  170. selector: 'outerHeight',
  171. category: 'css',
  172. fn: function (){
  173. var self=this;
  174. return self._call_("outerHeight");
  175. return self;},
  176. source: unescape('outerHeight%0A%20%20%20%20%22Get%20the%20current%20computed%20height%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20including%20padding%2C%20border%2C%20and%20optionally%20margin.%22%0A%20%20%20%20%5Eself%20call%3A%20%27outerHeight%27%0A')}),
  177. smalltalk.JQuery);
  178. smalltalk.addMethod(
  179. '_outerWidth',
  180. smalltalk.method({
  181. selector: 'outerWidth',
  182. category: 'css',
  183. fn: function (){
  184. var self=this;
  185. return self._call_("outerWidth");
  186. return self;},
  187. source: unescape('outerWidth%0A%20%20%20%20%22Get%20the%20current%20computed%20width%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20including%20padding%20and%20border.%22%0A%20%20%20%20%5Eself%20call%3A%20%27outerWidth%27%0A')}),
  188. smalltalk.JQuery);
  189. smalltalk.addMethod(
  190. '_top',
  191. smalltalk.method({
  192. selector: 'top',
  193. category: 'css',
  194. fn: function (){
  195. var self=this;
  196. return self._call_("position")._basicAt_("top");
  197. return self;},
  198. source: unescape('top%0A%20%20%20%20%22Get%20the%20current%20y%20coordinate%20of%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20relative%20to%20the%20offset%20parent.%22%0A%20%20%20%20%5E%28self%20call%3A%20%27position%27%29%20basicAt%3A%20%27top%27%0A')}),
  199. smalltalk.JQuery);
  200. smalltalk.addMethod(
  201. '_left',
  202. smalltalk.method({
  203. selector: 'left',
  204. category: 'css',
  205. fn: function (){
  206. var self=this;
  207. return self._call_("position")._basicAt_("left");
  208. return self;},
  209. source: unescape('left%0A%20%20%20%20%22Get%20the%20current%20x%20coordinate%20of%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20relative%20to%20the%20offset%20parent.%22%0A%20%20%20%20%5E%28self%20call%3A%20%27position%27%29%20basicAt%3A%20%27left%27%0A')}),
  210. smalltalk.JQuery);
  211. smalltalk.addMethod(
  212. '_offsetLeft',
  213. smalltalk.method({
  214. selector: 'offsetLeft',
  215. category: 'css',
  216. fn: function (){
  217. var self=this;
  218. return self._call_("offset")._basicAt_("left");
  219. return self;},
  220. source: unescape('offsetLeft%0A%20%20%20%20%22Get%20the%20current%20coordinates%20of%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20relative%20to%20the%20document.%22%0A%20%20%20%20%5E%28self%20call%3A%20%27offset%27%29%20basicAt%3A%20%27left%27%0A')}),
  221. smalltalk.JQuery);
  222. smalltalk.addMethod(
  223. '_offsetTop',
  224. smalltalk.method({
  225. selector: 'offsetTop',
  226. category: 'css',
  227. fn: function (){
  228. var self=this;
  229. return self._call_("offset")._basicAt_("top");
  230. return self;},
  231. source: unescape('offsetTop%0A%20%20%20%20%22Get%20the%20current%20coordinates%20of%20the%20first%20element%20in%20the%20set%20of%20matched%20elements%2C%20relative%20to%20the%20document.%22%0A%20%20%20%20%5E%28self%20call%3A%20%27offset%27%29%20basicAt%3A%20%27top%27%0A')}),
  232. smalltalk.JQuery);
  233. smalltalk.addMethod(
  234. '_scrollLeft',
  235. smalltalk.method({
  236. selector: 'scrollLeft',
  237. category: 'css',
  238. fn: function (){
  239. var self=this;
  240. return self._call_("scrollLeft");
  241. return self;},
  242. source: unescape('scrollLeft%0A%20%20%20%20%22Get%20the%20current%20horizontal%20position%20of%20the%20scroll%20bar%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27scrollLeft%27%0A')}),
  243. smalltalk.JQuery);
  244. smalltalk.addMethod(
  245. '_scrollTop',
  246. smalltalk.method({
  247. selector: 'scrollTop',
  248. category: 'css',
  249. fn: function (){
  250. var self=this;
  251. return self._call_("scrollTop");
  252. return self;},
  253. source: unescape('scrollTop%0A%20%20%20%20%22Get%20the%20current%20vertical%20position%20of%20the%20scroll%20bar%20for%20the%20first%20element%20in%20the%20set%20of%20matched%20elements.%22%0A%20%20%20%20%5Eself%20call%3A%20%27scrollTop%27%0A')}),
  254. smalltalk.JQuery);
  255. smalltalk.addMethod(
  256. '_scrollLeft_',
  257. smalltalk.method({
  258. selector: 'scrollLeft:',
  259. category: 'css',
  260. fn: function (anInteger){
  261. var self=this;
  262. self._call_withArgument_("scrollLeft",anInteger);
  263. return self;},
  264. source: unescape('scrollLeft%3A%20anInteger%0A%20%20%20%20self%20call%3A%20%27scrollLeft%27%20withArgument%3A%20anInteger%0A')}),
  265. smalltalk.JQuery);
  266. smalltalk.addMethod(
  267. '_scrollTop_',
  268. smalltalk.method({
  269. selector: 'scrollTop:',
  270. category: 'css',
  271. fn: function (anInteger){
  272. var self=this;
  273. self._call_withArgument_("scrollTop",anInteger);
  274. return self;},
  275. source: unescape('scrollTop%3A%20anInteger%0A%20%20%20%20self%20call%3A%20%27scrollTop%27%20withArgument%3A%20anInteger%0A')}),
  276. smalltalk.JQuery);
  277. smalltalk.addMethod(
  278. '_focus',
  279. smalltalk.method({
  280. selector: 'focus',
  281. category: 'events',
  282. fn: function (){
  283. var self=this;
  284. self._call_("focus");
  285. return self;},
  286. source: unescape('focus%0A%20%20%20%20self%20call%3A%20%27focus%27%0A')}),
  287. smalltalk.JQuery);
  288. smalltalk.addMethod(
  289. '_show',
  290. smalltalk.method({
  291. selector: 'show',
  292. category: 'events',
  293. fn: function (){
  294. var self=this;
  295. self._call_("show");
  296. return self;},
  297. source: unescape('show%0A%20%20%20%20self%20call%3A%20%27show%27%0A')}),
  298. smalltalk.JQuery);
  299. smalltalk.addMethod(
  300. '_hide',
  301. smalltalk.method({
  302. selector: 'hide',
  303. category: 'events',
  304. fn: function (){
  305. var self=this;
  306. self._call_("hide");
  307. return self;},
  308. source: unescape('hide%0A%20%20%20%20self%20call%3A%20%27hide%27%0A')}),
  309. smalltalk.JQuery);
  310. smalltalk.addMethod(
  311. '_remove',
  312. smalltalk.method({
  313. selector: 'remove',
  314. category: 'events',
  315. fn: function (){
  316. var self=this;
  317. self._call_("remove");
  318. return self;},
  319. source: unescape('remove%0A%20%20%20%20self%20call%3A%20%27remove%27%0A')}),
  320. smalltalk.JQuery);
  321. smalltalk.addMethod(
  322. '_on_do_',
  323. smalltalk.method({
  324. selector: 'on:do:',
  325. category: 'events',
  326. fn: function (anEventString, aBlock){
  327. var self=this;
  328. (function(){self['@jquery'].bind(anEventString, aBlock)})();
  329. return self;},
  330. source: unescape('on%3A%20anEventString%20do%3A%20aBlock%0A%20%20%20%20%22Attach%20aBlock%20for%20anEventString%20on%20the%20element%22%0A%20%20%20%20%7B%27self%5B%27%27@jquery%27%27%5D.bind%28anEventString%2C%20aBlock%29%27%7D%0A')}),
  331. smalltalk.JQuery);
  332. smalltalk.addMethod(
  333. '_removeEvents_',
  334. smalltalk.method({
  335. selector: 'removeEvents:',
  336. category: 'events',
  337. fn: function (aString){
  338. var self=this;
  339. self._call_withArgument_("unbind",aString);
  340. return self;},
  341. source: unescape('removeEvents%3A%20aString%0A%20%20%20%20%22Unbind%20all%20handlers%20attached%20to%20the%20event%20aString%22%0A%20%20%20%20self%20call%3A%20%27unbind%27%20withArgument%3A%20aString%0A')}),
  342. smalltalk.JQuery);
  343. smalltalk.addMethod(
  344. '_append_',
  345. smalltalk.method({
  346. selector: 'append:',
  347. category: 'DOM insertion',
  348. fn: function (anObject){
  349. var self=this;
  350. anObject._appendToJQuery_(self);
  351. return self;},
  352. source: unescape('append%3A%20anObject%0A%20%20%20%20%22Append%20anObject%20at%20the%20end%20of%20the%20element.%22%0A%20%20%20%20anObject%20appendToJQuery%3A%20self%0A')}),
  353. smalltalk.JQuery);
  354. smalltalk.addMethod(
  355. '_appendElement_',
  356. smalltalk.method({
  357. selector: 'appendElement:',
  358. category: 'DOM insertion',
  359. fn: function (anElement){
  360. var self=this;
  361. self._call_withArgument_("append",anElement);
  362. return self;},
  363. source: unescape('appendElement%3A%20anElement%0A%20%20%20%20%22Append%20anElement%20at%20the%20end%20of%20the%20element.%0A%20%20%20%20%20Dont%27t%20call%20this%20method%20directly%2C%20use%20%23append%3A%20instead%22%0A%20%20%20%20self%20call%3A%20%27append%27%20withArgument%3A%20anElement%0A')}),
  364. smalltalk.JQuery);
  365. smalltalk.addMethod(
  366. '_appendToJQuery_',
  367. smalltalk.method({
  368. selector: 'appendToJQuery:',
  369. category: 'DOM insertion',
  370. fn: function (aJQuery){
  371. var self=this;
  372. aJQuery._appendElement_(self['@jquery']);
  373. return self;},
  374. source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20%20aJQuery%20appendElement%3A%20jquery%0A')}),
  375. smalltalk.JQuery);
  376. smalltalk.addMethod(
  377. '_contents_',
  378. smalltalk.method({
  379. selector: 'contents:',
  380. category: 'DOM insertion',
  381. fn: function (anObject){
  382. var self=this;
  383. self._empty();
  384. self._append_(anObject);
  385. return self;},
  386. source: unescape('contents%3A%20anObject%0A%20%20%20%20self%20empty.%0A%20%20%20%20self%20append%3A%20anObject%0A')}),
  387. smalltalk.JQuery);
  388. smalltalk.addMethod(
  389. '_empty',
  390. smalltalk.method({
  391. selector: 'empty',
  392. category: 'DOM insertion',
  393. fn: function (){
  394. var self=this;
  395. self._call_("empty");
  396. return self;},
  397. source: unescape('empty%0A%20%20%20%20self%20call%3A%20%27empty%27%0A')}),
  398. smalltalk.JQuery);
  399. smalltalk.addMethod(
  400. '_initializeWithJQueryObject_',
  401. smalltalk.method({
  402. selector: 'initializeWithJQueryObject:',
  403. category: 'initialization',
  404. fn: function (anObject){
  405. var self=this;
  406. self['@jquery']=anObject;
  407. return self;},
  408. source: unescape('initializeWithJQueryObject%3A%20anObject%0A%20%20%20%20jquery%20%3A%3D%20anObject%0A')}),
  409. smalltalk.JQuery);
  410. smalltalk.addMethod(
  411. '_call_',
  412. smalltalk.method({
  413. selector: 'call:',
  414. category: 'private',
  415. fn: function (aString){
  416. var self=this;
  417. return (function(){return self['@jquery'][aString]()})();
  418. return self;},
  419. source: unescape('call%3A%20aString%0A%20%20%20%20%5E%7B%27return%20self%5B%27%27@jquery%27%27%5D%5BaString%5D%28%29%27%7D%0A')}),
  420. smalltalk.JQuery);
  421. smalltalk.addMethod(
  422. '_call_withArgument_',
  423. smalltalk.method({
  424. selector: 'call:withArgument:',
  425. category: 'private',
  426. fn: function (aString, anObject){
  427. var self=this;
  428. return (function(){return self['@jquery'][aString](anObject)})();
  429. return self;},
  430. source: unescape('call%3A%20aString%20withArgument%3A%20anObject%0A%20%20%20%20%5E%7B%27return%20self%5B%27%27@jquery%27%27%5D%5BaString%5D%28anObject%29%27%7D%0A')}),
  431. smalltalk.JQuery);
  432. smalltalk.addMethod(
  433. '_hasClass_',
  434. smalltalk.method({
  435. selector: 'hasClass:',
  436. category: 'testing',
  437. fn: function (aString){
  438. var self=this;
  439. return self._call_withArgument_("hasClass",aString);
  440. return self;},
  441. source: unescape('hasClass%3A%20aString%0A%20%20%20%20%22Determine%20whether%20any%20of%20the%20matched%20elements%20are%20assigned%20the%20given%20class.%22%0A%20%20%20%20%5Eself%20call%3A%20%27hasClass%27%20withArgument%3A%20aString%0A')}),
  442. smalltalk.JQuery);
  443. smalltalk.addMethod(
  444. '_fromString_',
  445. smalltalk.method({
  446. selector: 'fromString:',
  447. category: 'instance creation',
  448. fn: function (aString){
  449. var self=this;
  450. var newJQuery=nil;
  451. (function(){newJQuery = jQuery(String(aString))})();
  452. return self._from_(newJQuery);
  453. return self;},
  454. source: unescape('fromString%3A%20aString%0A%20%20%20%20%7C%20newJQuery%20%7C%0A%20%20%20%20%7B%27newJQuery%20%3D%20jQuery%28String%28aString%29%29%27%7D.%0A%20%20%20%20%5Eself%20from%3A%20newJQuery%0A')}),
  455. smalltalk.JQuery.klass);
  456. smalltalk.addMethod(
  457. '_from_',
  458. smalltalk.method({
  459. selector: 'from:',
  460. category: 'instance creation',
  461. fn: function (anObject){
  462. var self=this;
  463. return (function($rec){$rec._initializeWithJQueryObject_(anObject);return $rec._yourself();})(self._new());
  464. return self;},
  465. source: unescape('from%3A%20anObject%0A%20%20%20%20%5Eself%20new%0A%09initializeWithJQueryObject%3A%20anObject%3B%0A%09yourself%0A')}),
  466. smalltalk.JQuery.klass);