Răsfoiți Sursa

Update Proxy.hx (#5401)

fix code formatting
Mark Knol 9 ani în urmă
părinte
comite
c55faa7eba
1 a modificat fișierele cu 6 adăugiri și 7 ștergeri
  1. 6 7
      std/haxe/xml/Proxy.hx

+ 6 - 7
std/haxe/xml/Proxy.hx

@@ -26,18 +26,17 @@ package haxe.xml;
 	It will	only allow access to fields which corresponds to an "id" attribute
 	value in the XML file :
 
-	[
-	class MyXml extends haxe.xml.Proxy<"my.xml",MyStructure> {
+	```haxe
+	class MyXml extends haxe.xml.Proxy<"my.xml", MyStructure> {
 	}
-	...
+	
 	var h = new haxe.ds.StringMap<MyStructure>();
 	// ... fill h with "my.xml" content
 	var m = new MyXml(h.get);
 	trace(m.myNode.structField);
-	// access to "myNode" is only possible
-	// if you have an id="myNode" attribute
-	// in your XML, and completion works as well
-	]
+	// Access to "myNode" is only possible if you have an id="myNode" attribute
+	// in your XML, and completion works as well.
+	```
 **/
 class Proxy<Const,T> {