{I" class:EFI"ProcessedAsset;TI"logical_path;FI"bootstrap/dropdown.js;TI" pathname;FI"‰/Users/kevin/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts/bootstrap/dropdown.js;TI"content_type;FI"application/javascript;FI" mtime;Fl+:˜sSI" length;FiÅI" digest;F"%fbee2208e4016481e9b354a95d0b5ce5I" source;FI"Å/* ======================================================================== * Bootstrap: dropdown.js v3.1.1 * http://getbootstrap.com/javascript/#dropdowns * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // DROPDOWN CLASS DEFINITION // ========================= var backdrop = '.dropdown-backdrop' var toggle = '[data-toggle="dropdown"]' var Dropdown = function (element) { $(element).on('click.bs.dropdown', this.toggle) } Dropdown.prototype.toggle = function (e) { var $this = $(this) if ($this.is('.disabled, :disabled')) return var $parent = getParent($this) var isActive = $parent.hasClass('open') clearMenus() if (!isActive) { if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { // if mobile we use a backdrop because click events don't delegate $('