Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Extensions): Upgrade Encoda and remove redundant scripts
Browse files Browse the repository at this point in the history
With Encoda v0.91.0 most of the DOM manipulations in extensions can be removed. This change also removes redundant imports in theme scripts.
  • Loading branch information
nokome committed Mar 14, 2020
1 parent be0a847 commit 75dcbbf
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 150 deletions.
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"devDependencies": {
"@stencila/dev-config": "1.4.20",
"@stencila/encoda": "^0.90.3",
"@stencila/encoda": "0.91.0",
"@stencila/schema": "0.41.2",
"@types/jest": "25.1.4",
"@types/prismjs": "1.16.0",
Expand Down
1 change: 0 additions & 1 deletion src/extensions/cite-apa/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '../cite'
import { ready, select, text } from '../../util'

/**
Expand Down
1 change: 0 additions & 1 deletion src/extensions/cite-mla/index.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/extensions/cite/index.test.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/extensions/cite/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/extensions/headings/README.md

This file was deleted.

43 changes: 0 additions & 43 deletions src/extensions/headings/index.test.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/extensions/headings/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/extensions/headings/styles.css

This file was deleted.

3 changes: 0 additions & 3 deletions src/extensions/math/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/extensions/pages/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/extensions/person/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/themes/nature/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import '../../extensions/math'
import '../../extensions/code'
import '../../extensions/person'
2 changes: 0 additions & 2 deletions src/themes/plos/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import '../../extensions/math'
import '../../extensions/code'
import '../../extensions/person'
2 changes: 1 addition & 1 deletion src/themes/rpng/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '../../extensions/math'
export {}
3 changes: 0 additions & 3 deletions src/themes/skeleton/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
import '../../extensions/cite-apa'
import '../../extensions/code'
import '../../extensions/math'
import '../../extensions/pages'
import '../../extensions/person'

0 comments on commit 75dcbbf

Please sign in to comment.