Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop webshim polyfill #718

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion COPYRIGHT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SequenceServer is copyright Anurag Priyam, Ben J Woodcroft and Yannick Wurm,
version 3, the text of which can be found in LICENSE.txt.

Components of SequenceServer, including Sinatra, Ox, Slop, html5shiv,
Underscore, jQuery, jQuery UI, Bootstrap and Webshim, are licensed under
Underscore, jQuery, jQuery UI and Bootstrap, are licensed under
the MIT license. D3.js is licensed under BSD license. biojs-vis-sequence
is licensed under Apache license. Thin and JSON are licensed under Ruby
license. All unmodified files from these and other sources retain their
Expand Down
1 change: 0 additions & 1 deletion jest_scripts/jest-setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import $ from 'jquery';
import 'webshim/js-webshim/minified/polyfiller';
import '@testing-library/jest-dom';

global.$ = global.jQuery = $;
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"react": "18",
"react-app-polyfill": "^3.0.0",
"react-dom": "18",
"underscore": "^1.8.3",
"webshim": "^1.15.8"
"underscore": "^1.8.3"
},
"devDependencies": {
"@babel/core": "^7.17.9",
Expand Down
6 changes: 0 additions & 6 deletions public/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ System.config({
"react-dom": "npm:react-dom@18.0.0",
"underscore": "npm:underscore@1.8.3",
"vakata/jstree": "github:vakata/jstree@3.3.8",
"webshim": "npm:webshim@1.15.8",
"github:components/jqueryui@1.11.4": {
"jquery": "github:components/jquery@2.1.4"
},
Expand Down Expand Up @@ -143,11 +142,6 @@ System.config({
},
"npm:vm-browserify@0.0.4": {
"indexof": "npm:indexof@0.0.1"
},
"npm:webshim@1.15.8": {
"fs": "github:jspm/nodelibs-fs@0.1.2",
"path": "github:jspm/nodelibs-path@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
}
}
});
1 change: 0 additions & 1 deletion public/js/jquery_world.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import $ from 'jquery';
import '../packages/jquery-ui@1.11.4';
import 'bootstrap';
import 'webshim';

global.$ = $;
/**
Expand Down
8 changes: 0 additions & 8 deletions public/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ import React, { Component } from "react";
import { createRoot } from "react-dom/client";
import { DnD } from "./dnd";
import { Form } from "./form";
/**
* Load necessary polyfills.
*/
$.webshims.setOptions(
"basePath",
"/vendor/npm/webshim@1.15.8/js-webshim/minified/shims/"
);
$.webshims.polyfill("forms");

/**
* Clear sessionStorage on reload.
Expand Down
12 changes: 1 addition & 11 deletions public/sequenceserver-report.min.js

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions public/sequenceserver-search.min.js

Large diffs are not rendered by default.

Loading