Browse Source

Organization.

Herby Vojčík 5 years ago
parent
commit
22dd067179

+ 1 - 1
lang/src/Platform-Browser.js

@@ -34,7 +34,7 @@ $globals.BrowserPlatform);
 $core.addMethod(
 $core.method({
 selector: "newXhr",
-protocol: "accessing",
+protocol: "public API",
 fn: function (){
 var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);

+ 3 - 1
lang/src/Platform-Browser.st

@@ -10,7 +10,9 @@ I am `Platform` service implementation for browser.!
 
 globals
 	^ window
-!
+! !
+
+!BrowserPlatform methodsFor: 'public API'!
 
 newXhr
 	XMLHttpRequest

+ 1 - 1
lang/src/Platform-Node.js

@@ -34,7 +34,7 @@ $globals.NodePlatform);
 $core.addMethod(
 $core.method({
 selector: "newXhr",
-protocol: "accessing",
+protocol: "public API",
 fn: function (){
 var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);

+ 3 - 1
lang/src/Platform-Node.st

@@ -10,7 +10,9 @@ I am `Platform` service implementation for node-like environment.!
 
 globals
 	^ global
-!
+! !
+
+!NodePlatform methodsFor: 'public API'!
 
 newXhr
 	XMLHttpRequest