Skip to content

Commit

Permalink
update js
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Jul 18, 2019
1 parent 9ca2d13 commit 0c5fe47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 31 deletions.
10 changes: 1 addition & 9 deletions assets/js/admin-components/plugin.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
import $ from 'jquery';

export default class Theme {
export default class Plugin {
/**
Constructor
**/
constructor() {
this.build();
this.events()
}

/**
Build page elements, plugins init
**/
build() {

}

/**
Set page events
**/
Expand Down
4 changes: 0 additions & 4 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import $ from 'jquery';
import Plugin from './admin-components/plugin'

//require('popper.js');
//require('bootstrap'); // full bootstrap
// require('bootstrap/js/src/button'); // single bootstrap component

$(document).ready(() => {
new Plugin();
});
25 changes: 7 additions & 18 deletions dist/js/app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c5fe47

Please sign in to comment.