-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
32 lines (27 loc) · 902 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { ViewController } from './src/ViewController.js';
import { Header } from './src/Header.js';
import { Footer } from './src/Footer.js';
import { Sidemenu } from './src/Sidemenu.js';
import { CloseButton } from './src/CloseButton.js';
import { BackButton } from './src/BackButton.js';
import { MenuButton } from './src/MenuButton.js';
import { ActionButton } from './src/ActionButton.js';
import { Page } from './src/Page.js';
const Packages = {
ViewController : ViewController,
Header : Header,
Footer : Footer,
Sidemenu : Sidemenu,
CloseButton : CloseButton,
BackButton : BackButton,
MenuButton : MenuButton,
ActionButton : ActionButton,
Page : Page
};
Packages.inject = function(Craft){
Craft.Widget = Craft.Widget || {};
if( !Craft.Widget.NavigationGroup ){
Craft.Widget.NavigationGroup = Packages;
}
};
export default Packages;