Skip to content

Commit fb4d33b

Browse files
committed
Change to use exports
1 parent ab2c844 commit fb4d33b

File tree

306 files changed

+655
-669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+655
-669
lines changed

index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

lang/abap.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/abnf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
abnf.displayName = 'abnf'
66
abnf.aliases = []
77

8-
/** @type {Syntax} */
8+
/** @param {Refractor} Prism */
99
export default function abnf(Prism) {
1010
;(function (Prism) {
1111
var coreRules =

lang/actionscript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
import refractorJavascript from './javascript.js'
66
actionscript.displayName = 'actionscript'
77
actionscript.aliases = []
88

9-
/** @type {Syntax} */
9+
/** @param {Refractor} Prism */
1010
export default function actionscript(Prism) {
1111
Prism.register(refractorJavascript)
1212
Prism.languages.actionscript = Prism.languages.extend('javascript', {

lang/ada.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
ada.displayName = 'ada'
66
ada.aliases = []
77

8-
/** @type {Syntax} */
8+
/** @param {Refractor} Prism */
99
export default function ada(Prism) {
1010
Prism.languages.ada = {
1111
comment: /--.*/,

lang/agda.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
agda.displayName = 'agda'
66
agda.aliases = []
77

8-
/** @type {Syntax} */
8+
/** @param {Refractor} Prism */
99
export default function agda(Prism) {
1010
;(function (Prism) {
1111
Prism.languages.agda = {

lang/al.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
al.displayName = 'al'
66
al.aliases = []
77

8-
/** @type {Syntax} */
8+
/** @param {Refractor} Prism */
99
export default function al(Prism) {
1010
// based on https://github.com/microsoft/AL/blob/master/grammar/alsyntax.tmlanguage
1111

lang/antlr4.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
antlr4.displayName = 'antlr4'
66
antlr4.aliases = ['g4']
77

8-
/** @type {Syntax} */
8+
/** @param {Refractor} Prism */
99
export default function antlr4(Prism) {
1010
Prism.languages.antlr4 = {
1111
comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,

lang/apacheconf.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/apex.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// @ts-nocheck
22
/**
3-
* @import {Syntax} from '../core.js'
3+
* @import {Refractor} from '../lib/core.js'
44
*/
55
import refractorClike from './clike.js'
66
import refractorSql from './sql.js'
77
apex.displayName = 'apex'
88
apex.aliases = []
99

10-
/** @type {Syntax} */
10+
/** @param {Refractor} Prism */
1111
export default function apex(Prism) {
1212
Prism.register(refractorClike)
1313
Prism.register(refractorSql)

0 commit comments

Comments
 (0)