-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[close #488] Restructure static files
- remove static/ from version control - remove ddionrails-visualization from dependencies - add d3.js to dependencies - move static assets from static/src/ to assets/ directory - update webpack.config.js - build multiple webpack bundles
- Loading branch information
1 parent
d660a3a
commit 30bfc7a
Showing
18 changed files
with
2,119 additions
and
1,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/*! | ||
* ddionrails - index.js | ||
* Copyright 2018-2019 | ||
* Licensed under AGPL (https://github.com/ddionrails/ddionrails/blob/master/LICENSE.md) | ||
*/ | ||
|
||
require("../scss/index.scss"); | ||
|
||
import "bootstrap"; | ||
import "datatables.net"; | ||
import "datatables.net-bs"; | ||
import "datatables.net-responsive"; | ||
import "datatables.net-responsive-bs"; | ||
|
||
// Credit to https://stackoverflow.com/q/44484469 | ||
window["jQuery"] = window["$"] = require("jquery"); | ||
|
||
import { basketButton } from "./basket_button.js"; | ||
window.basketButton = basketButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.