ISO-Share/node_modules/prismjs/components/prism-jsonp.js

8 lines
231 B
JavaScript
Raw Normal View History

2024-11-26 21:16:11 +01:00
Prism.languages.jsonp = Prism.languages.extend('json', {
'punctuation': /[{}[\]();,.]/
});
Prism.languages.insertBefore('jsonp', 'punctuation', {
'function': /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
});