Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chxj1992 committed Jan 5, 2018
1 parent ea5e1a8 commit 9115262
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/kline.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/kline.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/js/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import {ChartManager} from './chart_manager'
import {ChartSettings} from './chart_settings'
import {DefaultTemplate, Template} from './templates'
import {MEvent} from './mevent'
import $ from 'jquery'


export class Control {

Expand Down
1 change: 1 addition & 0 deletions src/js/kline.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {Template} from './templates'
import '../css/main.css'
import tpl from '../view/tpl.html'
import './firebase'
import $ from 'jquery'


export default class Kline {
Expand Down
8 changes: 8 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ module.exports = {
plugins: [
new UglifyJsPlugin()
],
externals: {
jquery: {
commonjs: "jquery",
commonjs2: 'jquery',
amd: "jquery",
root: "$"
}
},
module: {
rules: [
{
Expand Down

0 comments on commit 9115262

Please sign in to comment.