Skip to content

Commit

Permalink
Merge pull request #1394 from yuvipanda/no-js
Browse files Browse the repository at this point in the history
Include JS for *just* the bootstrap components we use
  • Loading branch information
consideRatio authored Sep 24, 2021
2 parents c08d5db + b448363 commit a8e3444
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion binderhub/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import { Terminal } from 'xterm';
import { FitAddon } from 'xterm-addon-fit';
import ClipboardJS from 'clipboard';
import 'bootstrap';
import 'event-source-polyfill';

import BinderImage from './src/image';
Expand All @@ -22,8 +21,12 @@ import { getPathType, updatePathText } from './src/path';
import { nextHelpText } from './src/loading';

import 'xterm/css/xterm.css';

// Include just the bootstrap components we use
import 'bootstrap/js/dropdown';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/css/bootstrap-theme.min.css';

import '../index.css';

const BASE_URL = $('#base-url').data().url;
Expand Down

0 comments on commit a8e3444

Please sign in to comment.