|
@@ -899,6 +899,31 @@ messageSends: ["fromElement:", "createElement:"]
|
|
|
}),
|
|
|
$globals.Domite.klass);
|
|
|
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "newElement:xmlns:",
|
|
|
+protocol: 'instance creation',
|
|
|
+fn: function (aString,anotherString){
|
|
|
+var self=this;
|
|
|
+
|
|
|
+return $core.withContext(function($ctx1) {
|
|
|
+
|
|
|
+var $1;
|
|
|
+$1=self._fromElement_($recv(document)._createElementNS_tagName_(anotherString,aString));
|
|
|
+return $1;
|
|
|
+
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"newElement:xmlns:",{aString:aString,anotherString:anotherString},$globals.Domite.klass)});
|
|
|
+
|
|
|
+},
|
|
|
+
|
|
|
+args: ["aString", "anotherString"],
|
|
|
+source: "newElement: aString xmlns: anotherString \x0a\x0a\x09^self fromElement: (document createElementNS: anotherString tagName: aString)",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+messageSends: ["fromElement:", "createElementNS:tagName:"]
|
|
|
+}),
|
|
|
+$globals.Domite.klass);
|
|
|
+
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "newStream",
|