From b214f38d2c24a890ce36512a0c8bab965e27a508 Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Tue, 23 Sep 2014 22:34:14 +0800 Subject: README --- Code/Blocks/syntax/tests/cases/001_basic.html | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Code/Blocks/syntax/tests/cases/001_basic.html (limited to 'Code/Blocks/syntax/tests/cases/001_basic.html') diff --git a/Code/Blocks/syntax/tests/cases/001_basic.html b/Code/Blocks/syntax/tests/cases/001_basic.html new file mode 100644 index 0000000..1d57334 --- /dev/null +++ b/Code/Blocks/syntax/tests/cases/001_basic.html @@ -0,0 +1,42 @@ +
+	/**
+	 * multiline comment 
+	 */
+	
+	text
+	
+	// single line comment
+	
+	text
+	
+	"string" text 'string' text "string"
+	"string with \" escape" text 'string with \' escape' text "string with \" escape"
+	
+	var code = '\
+		function helloWorld()\
+		{\
+			// this is great!\
+			for(var i = 0; i <= 1; i++)\
+				alert("yay");\
+		}\
+		';
+
+ + -- cgit v1.2.3