Skip to content

Commit

Permalink
import yabson
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Apr 14, 2022
1 parent 3154ac3 commit e141132
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 24 deletions.
2 changes: 1 addition & 1 deletion lib/extension-background.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/extension.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion lib/yabson.js

This file was deleted.

8 changes: 0 additions & 8 deletions rollup.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ export default [{
format: "iife",
plugins: []
}]
}, {
input: ["src/extension/lib/yabson/yabson.js"],
output: [{
file: "lib/yabson.js",
format: "umd",
name: "yabson",
plugins: []
}]
}, {
input: ["src/extension/ui/content/content-ui-editor-init-web.js"],
output: [{
Expand Down
8 changes: 0 additions & 8 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ export default [{
format: "iife",
plugins: [terser()]
}]
}, {
input: ["src/extension/lib/yabson/yabson.js"],
output: [{
file: "lib/yabson.js",
format: "umd",
name: "yabson",
plugins: [terser()]
}]
}, {
input: ["src/extension/ui/content/content-ui-editor-init-web.js"],
output: [{
Expand Down
1 change: 0 additions & 1 deletion src/extension/core/bg/background.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<body>
<script src="/lib/chrome-browser-polyfill.js"></script>
<script src="/lib/extension-background.js"></script>
<script src="/lib/yabson.js"></script>
<script src="/lib/single-file.js"></script>
<script src="/lib/infobar.js"></script>
</body>
Expand Down
1 change: 0 additions & 1 deletion src/extension/core/bg/business.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const TASK_PENDING_STATE = "pending";
const TASK_PROCESSING_STATE = "processing";

const extensionScriptFiles = [
"lib/yabson.js",
"lib/infobar.js",
"lib/extension.js"
];
Expand Down
3 changes: 2 additions & 1 deletion src/extension/core/bg/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Source.
*/

/* global browser, singlefile, URL, yabson, Response */
/* global browser, singlefile, URL, Response */

import * as config from "./config.js";
import * as bookmarks from "./bookmarks.js";
Expand All @@ -32,6 +32,7 @@ import * as ui from "./../../ui/bg/index.js";
import { GDrive } from "./../../lib/gdrive/gdrive.js";
import { pushGitHub } from "./../../lib/github/github.js";
import { download } from "./download-util.js";
import * as yabson from "./../../lib/yabson/yabson.js";

const parsers = new Map();
const MAX_CONTENT_SIZE = 32 * (1024 * 1024);
Expand Down
4 changes: 3 additions & 1 deletion src/extension/core/common/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* Source.
*/

/* global browser, infobar, yabson */
/* global browser, infobar */

import * as yabson from "./../../lib/yabson/yabson.js";

const MAX_CHUNK_SIZE = 4 * 1024 * 1024;

Expand Down
1 change: 0 additions & 1 deletion src/extension/ui/pages/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
<script src="/lib/chrome-browser-polyfill.js"></script>
<script src="/lib/single-file.js"></script>
<script src="/lib/infobar.js"></script>
<script src="/lib/yabson.js"></script>
<script type="module" src="/src/extension/ui/bg/ui-editor.js"></script>
</body>

Expand Down

0 comments on commit e141132

Please sign in to comment.