Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
clineamb committed Mar 25, 2016
2 parents 60aabd1 + 7543e32 commit 67aa28a
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 34 deletions.
10 changes: 5 additions & 5 deletions dist/css/bootstrap-drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ body.has-drawer {
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.05);
}
.drawer-inverse {
background-color: #333333;
background-color: #333;
color: #eeeeee;
border-right: 1px solid #1a1a1a;
}
Expand Down Expand Up @@ -106,7 +106,7 @@ body.has-drawer {
}
.drawer-nav li a,
.drawer-fullnav li a {
color: #777777;
color: #777;
border-radius: 4px;
position: relative;
display: block;
Expand All @@ -123,7 +123,7 @@ body.has-drawer {
background-color: #ffffff;
}
.drawer-fullnav {
color: #ffffff;
color: #fff;
padding: 0;
}
.drawer-fullnav li {
Expand All @@ -133,11 +133,11 @@ body.has-drawer {
border-radius: 0;
}
.drawer-inverse .drawer-contents {
background-color: #333333;
background-color: #333;
}
.drawer-inverse .drawer-fullnav li a,
.drawer-inverse .drawer-nav li a {
color: #ffffff;
color: #fff;
padding: 10px 15px;
}
.drawer-inverse .drawer-fullnav li.active a,
Expand Down
4 changes: 2 additions & 2 deletions dist/js/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/


+function ($) {
(function ($) {
'use strict';

// OFF CANVAS PUBLIC CLASS DEFINITION
Expand Down Expand Up @@ -210,4 +210,4 @@
Plugin.call($target, option)
})

}(jQuery);
})(window.jQuery || {});
2 changes: 1 addition & 1 deletion dist/js/drawer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions example/bootstrap-drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ body.has-drawer {
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.05);
}
.drawer-inverse {
background-color: #333333;
background-color: #333;
color: #eeeeee;
border-right: 1px solid #1a1a1a;
}
Expand Down Expand Up @@ -106,7 +106,7 @@ body.has-drawer {
}
.drawer-nav li a,
.drawer-fullnav li a {
color: #777777;
color: #777;
border-radius: 4px;
position: relative;
display: block;
Expand All @@ -123,7 +123,7 @@ body.has-drawer {
background-color: #ffffff;
}
.drawer-fullnav {
color: #ffffff;
color: #fff;
padding: 0;
}
.drawer-fullnav li {
Expand All @@ -133,11 +133,11 @@ body.has-drawer {
border-radius: 0;
}
.drawer-inverse .drawer-contents {
background-color: #333333;
background-color: #333;
}
.drawer-inverse .drawer-fullnav li a,
.drawer-inverse .drawer-nav li a {
color: #ffffff;
color: #fff;
padding: 10px 15px;
}
.drawer-inverse .drawer-fullnav li.active a,
Expand Down
4 changes: 2 additions & 2 deletions example/bootstrap.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions example/bootstrap.min.js

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions example/drawer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* ========================================================================
* Bootstrap: drawer.js v1.0
* Bootstrap: drawer.js v1.0.3
# Heavily based on collapse, but had to change the name to "fold" to
# avoid transition conflicts.
* ========================================================================
*/


+function ($) {
(function ($) {
'use strict';

// OFF CANVAS PUBLIC CLASS DEFINITION
Expand Down Expand Up @@ -82,10 +82,14 @@
.trigger('shown.bs.drawer')
}

if (!$.support.transition) return complete.call(this)
if (!$.support.transition) {
return complete.call(this)
} else {
this.transEventName = $.support.transition.end;
}

this.$element
.one('bsTransitionEnd', $.proxy(complete, this))
.one(this.transEventName, $.proxy(complete, this))
.emulateTransitionEnd(Drawer.TRANSITION_DURATION).css(dimension, 0)
}

Expand Down Expand Up @@ -117,11 +121,15 @@
.trigger('hidden.bs.drawer')
}

if (!$.support.transition) return complete.call(this)
if (!$.support.transition) {
return complete.call(this)
} else {
this.transEventName = $.support.transition.end;
}

this.$element
.css(dimension, '')
.one('bsTransitionEnd', $.proxy(complete, this))
.one(this.transEventName, $.proxy(complete, this))
.emulateTransitionEnd(Drawer.TRANSITION_DURATION)
}

Expand Down Expand Up @@ -202,10 +210,4 @@
Plugin.call($target, option)
})

}(jQuery); var data = $target.data('bs.drawer')
var option = data ? 'toggle' : $.extend({}, $this.data(), { trigger: this })

Plugin.call($target, option)
})

}(jQuery);
})(window.jQuery || {});
4 changes: 2 additions & 2 deletions js/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/


+function ($) {
(function ($) {
'use strict';

// OFF CANVAS PUBLIC CLASS DEFINITION
Expand Down Expand Up @@ -210,4 +210,4 @@
Plugin.call($target, option)
})

}(jQuery);
})(window.jQuery || {});

0 comments on commit 67aa28a

Please sign in to comment.