Browse Source

rebuilt jtalk.js and jtalk.deploy.js

Nicolas Petton 14 years ago
parent
commit
68962c6a5b
2 changed files with 500 additions and 587 deletions
  1. 24 0
      js/jtalk.deploy.js
  2. 476 587
      js/jtalk.js

+ 24 - 0
js/jtalk.deploy.js

@@ -4608,6 +4608,18 @@ return self;},
 source: unescape('initialize%0A%20%20%20%20super%20initialize.%0A%20%20%20%20root%20%3A%3D%20TagBrush%20fromString%3A%20%27div%27%20canvas%3A%20self%0A')}),
 smalltalk.HTMLCanvas);
 
+smalltalk.addMethod(
+'_with_',
+smalltalk.method({
+selector: 'with:',
+category: 'adding',
+fn: function (anObject){
+var self=this;
+return self._root()._with_(anObject);
+return self;},
+source: unescape('with%3A%20anObject%0A%20%20%20%20%5Eself%20root%20with%3A%20anObject%0A')}),
+smalltalk.HTMLCanvas);
+
 smalltalk.addMethod(
 '_newTag_',
 smalltalk.method({
@@ -5330,6 +5342,18 @@ return self;},
 source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20%20self%20render.%0A%20%20%20%20aJQuery%20append%3A%20self%20root%20asJQuery%0A')}),
 smalltalk.Widget);
 
+smalltalk.addMethod(
+'_alert_',
+smalltalk.method({
+selector: 'alert:',
+category: 'actions',
+fn: function (aString){
+var self=this;
+(function(){alert(aString)})();
+return self;},
+source: unescape('alert%3A%20aString%0A%20%20%20%20%7B%27alert%28aString%29%27%7D%0A')}),
+smalltalk.Widget);
+
 smalltalk.addMethod(
 '_confirm_',
 smalltalk.method({

File diff suppressed because it is too large
+ 476 - 587
js/jtalk.js


Some files were not shown because too many files changed in this diff