소스 검색

Update Proxy.hx (#5401)

fix code formatting
Mark Knol 9 년 전
부모
커밋
c55faa7eba
1개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  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> {