فهرست منبع

Organization.

Herby Vojčík 5 سال پیش
والد
کامیت
22dd067179
4فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 1 1
      lang/src/Platform-Browser.js
  2. 3 1
      lang/src/Platform-Browser.st
  3. 1 1
      lang/src/Platform-Node.js
  4. 3 1
      lang/src/Platform-Node.st

+ 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