From d25ff2bddd44b9dac1ceb248424109d1782dd211 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 25 Mar 2017 13:13:57 +0100 Subject: add minionlivesmatter as submodule --- .../assets/bootstrap-material-design/js/drawer.js | 170 --------------------- 1 file changed, 170 deletions(-) delete mode 100644 minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js (limited to 'minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js') diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js deleted file mode 100644 index ef0586e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js +++ /dev/null @@ -1,170 +0,0 @@ -import BaseLayout from './baseLayout' - -const Drawer = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'drawer' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Keycodes = { - ESCAPE: 27 - //ENTER: 13, - //SPACE: 32 - } - - const ClassName = { - IN: 'in', - DRAWER_IN: `bmd-drawer-in`, - DRAWER_OUT: `bmd-drawer-out`, - DRAWER: 'bmd-layout-drawer', - CONTAINER: 'bmd-layout-container' - } - - const Default = { - focusSelector: `a, button, input` - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Drawer extends BaseLayout { - - // $element is expected to be the trigger - // i.e.