8 lines
215 B
JavaScript
8 lines
215 B
JavaScript
|
Prism.languages.jsonp = Prism.languages.extend('json', {
|
||
|
'punctuation': /[{}[\]();,.]/
|
||
|
});
|
||
|
|
||
|
Prism.languages.insertBefore('jsonp', 'punctuation', {
|
||
|
'function': /[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/
|
||
|
});
|