Commit c98676091c4913f3af99a585243d35f9a60ede57

CupOfTea696 2014-09-22T13:59:19

JSONP alias

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/components/prism-json.js b/components/prism-json.js
index d0fcb92..c6d0945 100644
--- a/components/prism-json.js
+++ b/components/prism-json.js
@@ -5,4 +5,6 @@ Prism.languages.json = {
     'punctuation': /[\{\};:]/g,
     'boolean': /\b(true|false)\b/gi,
     'null': /\bnull\b/gi,
-};
\ No newline at end of file
+};
+
+Prism.languages.jsonp = Prism.languages.json;
\ No newline at end of file