$elem.off('click.zf.drilldown');
$elem.children('.js-drilldown-back')
.on('click.zf.drilldown', function() {
- // console.log('mouseup on back');
_this._hide($elem);
// If there is a parent submenu, call show
if (typeof this.options.type === 'undefined')
this.options.type = 'auto';
else if (types.indexOf(this.options.type) === -1) {
- console.log(`Warning: invalid value "${this.options.type}" for Interchange option "type"`);
+ console.warn(`Warning: invalid value "${this.options.type}" for Interchange option "type"`);
this.options.type = 'auto';
}
}
tmpPlugin.destroy();
}
catch(e) {
- console.log(e);
+ console.warn(`Warning: Problems getting Accordion/Tab options: ${e}`);
}
}
}
'aria-hidden': false
});
_this.isActive = true;
- // console.log(this.template);
this.template.stop().hide().css('visibility', '').fadeIn(this.options.fadeInDuration, function() {
//maybe do stuff?
});
* @function
*/
hide() {
- // console.log('hiding', this.$element.data('yeti-box'));
var _this = this;
this.template.stop().attr({
'aria-hidden': true,
function Move(duration, elem, fn){
var anim, prog, start = null;
- // console.log('called');
if (duration === 0) {
fn.apply(elem);
function move(ts){
if(!start) start = ts;
- // console.log(start, ts);
prog = ts - start;
fn.apply(elem);