bootstrap-tabdrop-nav
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -6,3 +6,16 @@ /* ========================================================= | ||
* Based on the work of Stefan Petre, http://www.eyecon.ro/bootstrap-tabdrop | ||
* ========================================================= | ||
* Copyright 2014 Adam Youngers | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* ========================================================= */ | ||
@@ -23,7 +36,7 @@ | ||
e(t + " .li-more .dropdown-menu .divider").remove(), | ||
e(t + " .li-more .dropdown-menu *").removeAttr("role data-toggle aria-expanded").removeClass("dropdown-menu dropdown-toggle dropdown caret js-subnav-params-ignore"), | ||
e(t + " .li-more .dropdown-menu *").removeAttr("role data-toggle aria-expanded").removeClass("dropdown-menu dropdown-toggle dropdown caret fa fa-angle-down nav-tabs__caret js-subnav-params-ignore"), | ||
o(); | ||
} | ||
} | ||
var t = this.selector, r = e(t).html(), i = e(t).outerWidth(!0), a = o(), d = '<li class="li-more dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false">more <span class="caret"></span></a><ul class="dropdown-menu" role="menu"></ul></li>'; | ||
var t = '.' + this[0].className.replace(/\s/gi, '.'), r = e(t).html(), i = e(t).outerWidth(!0), a = o(), d = '<li class="li-more dropdown"><a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"><span class="nav-tabs__title">More <span class="nav-tabs__title-second">Insights</span></span><i class="fa fa-angle-down nav-tabs__caret"></i></a><ul class="dropdown-menu" role="menu"></ul></li>'; | ||
return n(), setTimeout(function () { | ||
@@ -38,1 +51,2 @@ e(window).on("resize", function () { | ||
}(jQuery); | ||
{ | ||
"name": "bootstrap-tabdrop-nav", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Bootstrap tabdrop is a responsive tab navigation for bootstrap for iSpot.tv", | ||
@@ -5,0 +5,0 @@ "main": "bootstrap-tabdrop.js", |
4909
52