var _activeId = null;
var _baseHeight = 0;
- var _cache = null;
- var _elements = null;
- var _handlers = null;
+ var _cache = new Dictionary();
+ var _elements = new Dictionary();
+ var _handlers = new Dictionary();
var _hoverId = null;
var _suspended = false;
var _timeoutEnter = null;
return;
}
- _cache = new Dictionary();
- _elements = new Dictionary();
- _handlers = new Dictionary();
-
_popover = document.createElement('div');
_popover.classList.add('popover');
var _activeDialog = null;
var _container = null;
- var _dialogs = null;
+ var _dialogs = new Dictionary();
var _dialogFullHeight = false;
var _keyupListener = null;
document.body.appendChild(_container);
- _dialogs = new Dictionary();
-
_keyupListener = (function(event) {
if (event.keyCode === 27) {
if (event.target.nodeName !== 'INPUT' && event.target.nodeName !== 'TEXTAREA') {
"use strict";
var _availableDropdowns = null;
- var _callbacks = null;
- var _dropdowns = null;
- var _menus = null;
+ var _callbacks = new CallbackList();
+ var _dropdowns = new Dictionary();
+ var _menus = new Dictionary();
var _menuContainer = null;
/**
_menuContainer.setAttribute('id', 'dropdownMenuContainer');
document.body.appendChild(_menuContainer);
- _callbacks = new CallbackList();
- _dropdowns = new Dictionary();
- _menus = new Dictionary();
-
_availableDropdowns = document.getElementsByClassName('dropdownToggle');
this.initAll();