Commit 3208e34864d4baa56ad405d56f9eef2e4ea45119

bsmith 2017-05-29T15:34:02

temporarily remove type annotation support

diff --git a/components/prism-n4js.min.js b/components/prism-n4js.min.js
index 1d68d26..287ad04 100755
--- a/components/prism-n4js.min.js
+++ b/components/prism-n4js.min.js
@@ -1 +1 @@
-Prism.languages.n4js=Prism.languages.extend("javascript",{keyword:/\b(any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Prism.languages.insertBefore("n4js","function",{annotation:{pattern:/(@+\w+)/,alias:"operator"}}),Prism.languages.insertBefore("n4js","string",{"type-annotation":{pattern:/(:\s(any|boolean|enum|(F|f)unction|int|null|number|(o|O)bject|string|symbol|undefined))/,alias:"punctuation"}}),Prism.languages.n4jsd=Prism.languages.n4js;
\ No newline at end of file
+Prism.languages.n4js=Prism.languages.extend("javascript",{keyword:/\b(any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Prism.languages.insertBefore("n4js","function",{annotation:{pattern:/(@+\w+)/,alias:"operator"}}),Prism.languages.n4jsd=Prism.languages.n4js;
\ No newline at end of file
diff --git a/tests/languages/n4js/type-annotation_feature.test b/tests/languages/n4js/type-annotation_feature.test
deleted file mode 100644
index b1985d0..0000000
--- a/tests/languages/n4js/type-annotation_feature.test
+++ /dev/null
@@ -1,35 +0,0 @@
-: any
-: boolean
-: enum
-: function
-: Function
-: int
-: null
-: number
-: object
-: Object
-: string
-: symbol
-: undefined
-
-----------------------------------------------------
-
-[
-	["type-annotation", ": any"],
-	["type-annotation", ": boolean"],
-	["type-annotation", ": enum"],
-	["type-annotation", ": function"],
-	["type-annotation", ": Function"],
-	["type-annotation", ": int"],
-	["type-annotation", ": null"],
-	["type-annotation", ": number"],
-	["type-annotation", ": object"],
-	["type-annotation", ": Object"],
-	["type-annotation", ": string"],
-	["type-annotation", ": symbol"],
-	["type-annotation", ": undefined"]
-]
-
-----------------------------------------------------
-
-Test for type annotations.