Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Mar 18, 2017
1 parent 2caed54 commit 4171f48
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap.native",
"version": "2.0.6",
"version": "2.0.7",
"homepage": "http://thednp.github.io/bootstrap.native/",
"authors": [
"dnp_theme"
Expand Down
14 changes: 7 additions & 7 deletions dist/bootstrap-native-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
bottom = 'bottom',

// tooltip / popover
fixedTop = '.fixed-top',
fixedBottom = '.fixed-bottom',
fixedTop = 'fixed-top',
fixedBottom = 'fixed-bottom',
mouseHover = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ],
tipPositions = /\b(top|bottom|left|top)+/,

Expand Down Expand Up @@ -873,7 +873,7 @@
bodyIsOverflowing, modalIsOverflowing, scrollbarWidth, overlay,

// also find fixed-top / fixed-bottom items
fixedItems = getElementsByClassName(doc,'fixed-top').concat(getElementsByClassName(doc,'fixed-bottom')),
fixedItems = getElementsByClassName(doc,fixedTop).concat(getElementsByClassName(doc,fixedBottom)),


// private methods
Expand Down Expand Up @@ -1120,8 +1120,8 @@
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down Expand Up @@ -1516,8 +1516,8 @@
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
2 changes: 1 addition & 1 deletion dist/bootstrap-native-v4.min.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions dist/bootstrap-native.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Native Javascript for Bootstrap 3 v2.0.6 | © dnp_theme | MIT-License
// Native Javascript for Bootstrap 3 v2.0.7 | © dnp_theme | MIT-License
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD support:
Expand Down Expand Up @@ -134,8 +134,8 @@
isIE8 = !('opacity' in body[style]),

// tooltip / popover
fixedTop = '.navbar-fixed-top',
fixedBottom = '.navbar-fixed-bottom',
fixedTop = 'navbar-fixed-top',
fixedBottom = 'navbar-fixed-bottom',
mouseHover = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ],
tipPositions = /\b(top|bottom|left|top)+/,

Expand Down Expand Up @@ -1030,7 +1030,7 @@
bodyIsOverflowing, modalIsOverflowing, scrollbarWidth, overlay,

// also find fixed-top / fixed-bottom items
fixedItems = getElementsByClassName(doc,'navbar-fixed-top').concat(getElementsByClassName(doc,'navbar-fixed-bottom')),
fixedItems = getElementsByClassName(doc,fixedTop).concat(getElementsByClassName(doc,fixedBottom)),

// private methods
getWindowWidth = function() {
Expand Down Expand Up @@ -1276,8 +1276,8 @@
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down Expand Up @@ -1655,8 +1655,8 @@
element = queryElement(element);

// DATA API
var animationData = element[getAttribute](dataAnimation);
placementData = element[getAttribute](dataPlacement);
var animationData = element[getAttribute](dataAnimation),
placementData = element[getAttribute](dataPlacement),
delayData = element[getAttribute](dataDelay),
containerData = element[getAttribute](dataContainer),

Expand All @@ -1671,8 +1671,8 @@
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
4 changes: 2 additions & 2 deletions dist/bootstrap-native.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/V3/modal-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var Modal = function(element, options) { // element can be the modal/triggering
bodyIsOverflowing, modalIsOverflowing, scrollbarWidth, overlay,

// also find fixed-top / fixed-bottom items
fixedItems = getElementsByClassName(doc,'navbar-fixed-top').concat(getElementsByClassName(doc,'navbar-fixed-bottom')),
fixedItems = getElementsByClassName(doc,fixedTop).concat(getElementsByClassName(doc,fixedBottom)),

// private methods
getWindowWidth = function() {
Expand Down
4 changes: 2 additions & 2 deletions lib/V3/popover-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ var Popover = function( element, options ) {
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
4 changes: 2 additions & 2 deletions lib/V3/tooltip-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var Tooltip = function( element,options ) {
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
4 changes: 2 additions & 2 deletions lib/V3/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ var globalObject = typeof global !== 'undefined' ? global : this||window,
isIE8 = !('opacity' in body[style]),

// tooltip / popover
fixedTop = '.navbar-fixed-top',
fixedBottom = '.navbar-fixed-bottom',
fixedTop = 'navbar-fixed-top',
fixedBottom = 'navbar-fixed-bottom',
mouseHover = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ],
tipPositions = /\b(top|bottom|left|top)+/,

Expand Down
2 changes: 1 addition & 1 deletion lib/V4/modal-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var Modal = function(element, options) { // element can be the modal/triggering
bodyIsOverflowing, modalIsOverflowing, scrollbarWidth, overlay,

// also find fixed-top / fixed-bottom items
fixedItems = getElementsByClassName(doc,'fixed-top').concat(getElementsByClassName(doc,'fixed-bottom')),
fixedItems = getElementsByClassName(doc,fixedTop).concat(getElementsByClassName(doc,fixedBottom)),


// private methods
Expand Down
4 changes: 2 additions & 2 deletions lib/V4/popover-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ var Popover = function( element, options ) {
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
8 changes: 4 additions & 4 deletions lib/V4/tooltip-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ var Tooltip = function( element,options ) {
element = queryElement(element);

// DATA API
var animationData = element[getAttribute](dataAnimation);
placementData = element[getAttribute](dataPlacement);
var animationData = element[getAttribute](dataAnimation),
placementData = element[getAttribute](dataPlacement),
delayData = element[getAttribute](dataDelay),
containerData = element[getAttribute](dataContainer),

Expand All @@ -26,8 +26,8 @@ var Tooltip = function( element,options ) {
modal = getClosest(element,'.modal'),

// maybe the element is inside a fixed navbar
navbarFixedTop = getClosest(element,fixedTop),
navbarFixedBottom = getClosest(element,fixedBottom);
navbarFixedTop = getClosest(element,'.'+fixedTop),
navbarFixedBottom = getClosest(element,'.'+fixedBottom);

// set options
options = options || {};
Expand Down
4 changes: 2 additions & 2 deletions lib/V4/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ var globalObject = typeof global !== 'undefined' ? global : this||window,
bottom = 'bottom',

// tooltip / popover
fixedTop = '.fixed-top',
fixedBottom = '.fixed-bottom',
fixedTop = 'fixed-top',
fixedBottom = 'fixed-bottom',
mouseHover = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ],
tipPositions = /\b(top|bottom|left|top)+/,

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap.native",
"version": "2.0.6",
"version": "2.0.7",
"description": "Native Javascript for Bootstrap, the sweetest Javascript library without jQuery.",
"main": "dist/bootstrap-native.js",
"scripts": {
Expand Down

0 comments on commit 4171f48

Please sign in to comment.