Browse Source

Fix wrong protocol

Herbert Vojčík 9 years ago
parent
commit
2bc97b6dd5
2 changed files with 7 additions and 5 deletions
  1. 1 1
      src/Kernel-Infrastructure.js
  2. 6 4
      src/Kernel-Infrastructure.st

+ 1 - 1
src/Kernel-Infrastructure.js

@@ -392,7 +392,7 @@ $globals.JSObjectProxy);
 $core.addMethod(
 $core.method({
 selector: "putOn:",
-protocol: 'accessing',
+protocol: 'streaming',
 fn: function (aStream){
 var self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);

+ 6 - 4
src/Kernel-Infrastructure.st

@@ -68,10 +68,6 @@ in: aValuable
 
 jsObject
 	^ jsObject
-!
-
-putOn: aStream
-	aStream nextPutJSObject: jsObject
 ! !
 
 !JSObjectProxy methodsFor: 'comparing'!
@@ -134,6 +130,12 @@ inspectOn: anInspector
 	anInspector setVariables: variables
 ! !
 
+!JSObjectProxy methodsFor: 'streaming'!
+
+putOn: aStream
+	aStream nextPutJSObject: jsObject
+! !
+
 !JSObjectProxy class methodsFor: 'instance creation'!
 
 on: aJSObject