From 80255411ee7040e0cebbf6b05d2ce323f6f2596e Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Fri, 22 Aug 2014 17:23:02 +0800 Subject: backup --- Back/Blocks/syntax/tests/cases/001_basic.html | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Back/Blocks/syntax/tests/cases/001_basic.html (limited to 'Back/Blocks/syntax/tests/cases/001_basic.html') diff --git a/Back/Blocks/syntax/tests/cases/001_basic.html b/Back/Blocks/syntax/tests/cases/001_basic.html new file mode 100644 index 0000000..1d57334 --- /dev/null +++ b/Back/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