|
@@ -1374,31 +1374,6 @@ messageSends: ["src:", "img"]
|
|
|
}),
|
|
|
$globals.HTMLCanvas);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "initializeFromJQuery:",
|
|
|
-protocol: "initialization",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$self.root=$recv($globals.TagBrush)._fromJQuery_canvas_(aJQuery,self);
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "initializeFromJQuery: aJQuery\x0a\x09root := TagBrush fromJQuery: aJQuery canvas: self",
|
|
|
-referencedClasses: ["TagBrush"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["fromJQuery:canvas:"]
|
|
|
-}),
|
|
|
-$globals.HTMLCanvas);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "input",
|
|
@@ -2761,33 +2736,6 @@ messageSends: ["with:", "root"]
|
|
|
$globals.HTMLCanvas);
|
|
|
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "onJQuery:",
|
|
|
-protocol: "instance creation",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-var $1;
|
|
|
-$1=$self._new();
|
|
|
-$recv($1)._initializeFromJQuery_(aJQuery);
|
|
|
-return $recv($1)._yourself();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"onJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "onJQuery: aJQuery\x0a\x09^ self new\x0a\x09\x09initializeFromJQuery: aJQuery;\x0a\x09\x09yourself",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["initializeFromJQuery:", "new", "yourself"]
|
|
|
-}),
|
|
|
-$globals.HTMLCanvas.a$cls);
|
|
|
-
|
|
|
|
|
|
$core.addClass("TagBrush", $globals.Object, ["canvas", "element"], "Web");
|
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
@@ -3062,54 +3010,6 @@ messageSends: []
|
|
|
}),
|
|
|
$globals.TagBrush);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "asJQuery",
|
|
|
-protocol: "converting",
|
|
|
-fn: function (){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $recv($self._asDomNode())._asJQuery();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"asJQuery",{})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: [],
|
|
|
-source: "asJQuery\x0a\x09^ self asDomNode asJQuery",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["asJQuery", "asDomNode"]
|
|
|
-}),
|
|
|
-$globals.TagBrush);
|
|
|
-
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "asJQueryInContext:",
|
|
|
-protocol: "converting",
|
|
|
-fn: function (aContext){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $recv($self._asDomNode())._asJQueryInContext_(aContext);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"asJQueryInContext:",{aContext:aContext})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aContext"],
|
|
|
-source: "asJQueryInContext: aContext\x0a\x09^ self asDomNode asJQueryInContext: aContext",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["asJQueryInContext:", "asDomNode"]
|
|
|
-}),
|
|
|
-$globals.TagBrush);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "at:",
|
|
@@ -3540,32 +3440,6 @@ messageSends: ["querySelector:"]
|
|
|
}),
|
|
|
$globals.TagBrush);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "initializeFromJQuery:canvas:",
|
|
|
-protocol: "initialization",
|
|
|
-fn: function (aJQuery,aCanvas){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$self.element=$recv(aJQuery)._get_((0));
|
|
|
-$self.canvas=aCanvas;
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery", "aCanvas"],
|
|
|
-source: "initializeFromJQuery: aJQuery canvas: aCanvas\x0a\x09element := aJQuery get: 0.\x0a\x09canvas := aCanvas",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["get:"]
|
|
|
-}),
|
|
|
-$globals.TagBrush);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "initializeFromString:canvas:",
|
|
@@ -4619,57 +4493,6 @@ messageSends: ["initializeFromCssSelector:canvas:", "new", "yourself"]
|
|
|
}),
|
|
|
$globals.TagBrush.a$cls);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "fromJQuery:",
|
|
|
-protocol: "instance creation",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $self._fromJQuery_canvas_(aJQuery,$recv($globals.HTMLCanvas)._new());
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"fromJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "fromJQuery: aJQuery\x0a\x09^ self fromJQuery: aJQuery canvas: HTMLCanvas new",
|
|
|
-referencedClasses: ["HTMLCanvas"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["fromJQuery:canvas:", "new"]
|
|
|
-}),
|
|
|
-$globals.TagBrush.a$cls);
|
|
|
-
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "fromJQuery:canvas:",
|
|
|
-protocol: "instance creation",
|
|
|
-fn: function (aJQuery,aCanvas){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-var $1;
|
|
|
-$1=$self._new();
|
|
|
-$recv($1)._initializeFromJQuery_canvas_(aJQuery,aCanvas);
|
|
|
-return $recv($1)._yourself();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"fromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery", "aCanvas"],
|
|
|
-source: "fromJQuery: aJQuery canvas: aCanvas\x0a\x09^ self new\x0a\x09\x09initializeFromJQuery: aJQuery canvas: aCanvas;\x0a\x09\x09yourself",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["initializeFromJQuery:canvas:", "new", "yourself"]
|
|
|
-}),
|
|
|
-$globals.TagBrush.a$cls);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "fromString:",
|
|
@@ -4759,31 +4582,6 @@ messageSends: ["appendToBrush:", "renderOn:"]
|
|
|
}),
|
|
|
$globals.Widget);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "appendToJQuery:",
|
|
|
-protocol: "adding",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$self._renderOn_($recv($globals.HTMLCanvas)._onJQuery_(aJQuery));
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "appendToJQuery: aJQuery\x0a\x09self renderOn: (HTMLCanvas onJQuery: aJQuery)",
|
|
|
-referencedClasses: ["HTMLCanvas"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["renderOn:", "onJQuery:"]
|
|
|
-}),
|
|
|
-$globals.Widget);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "renderOn:",
|
|
@@ -4873,31 +4671,6 @@ messageSends: ["appendBlock:"]
|
|
|
}),
|
|
|
$globals.BlockClosure);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "appendToJQuery:",
|
|
|
-protocol: "*Web",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$self._value_($recv($globals.HTMLCanvas)._onJQuery_(aJQuery));
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "appendToJQuery: aJQuery\x0a\x09self value: (HTMLCanvas onJQuery: aJQuery)",
|
|
|
-referencedClasses: ["HTMLCanvas"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["value:", "onJQuery:"]
|
|
|
-}),
|
|
|
-$globals.BlockClosure);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "appendToBrush:",
|
|
@@ -4987,31 +4760,6 @@ messageSends: ["append:", "asString"]
|
|
|
}),
|
|
|
$globals.Object);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "appendToJQuery:",
|
|
|
-protocol: "*Web",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv(aJQuery)._append_($self._asString());
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "appendToJQuery: aJQuery\x0a\x09aJQuery append: self asString",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["append:", "asString"]
|
|
|
-}),
|
|
|
-$globals.Object);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "appendToBrush:",
|
|
@@ -5037,31 +4785,6 @@ messageSends: ["appendString:"]
|
|
|
}),
|
|
|
$globals.String);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "appendToJQuery:",
|
|
|
-protocol: "*Web",
|
|
|
-fn: function (aJQuery){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv(aJQuery)._append_(self);
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aJQuery"],
|
|
|
-source: "appendToJQuery: aJQuery\x0a\x09aJQuery append: self",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["append:"]
|
|
|
-}),
|
|
|
-$globals.String);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "asBrush",
|