Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v4'
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Jan 7, 2015
2 parents afb5fe3 + 7db17df commit 7b84182
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Browser support covers IE9+ as well as all other modern browsers.

Several options are available for downloading Responsive:

- [Download the latest release](https://github.com/ResponsiveBP/Responsive/releases/download/4.0.0/responsive.zip).
- [Download the latest release source](https://github.com/ResponsiveBP/Responsive/archive/4.0.0.zip).
- [Download the latest release](https://github.com/ResponsiveBP/Responsive/releases/download/4.0.1/responsive.zip).
- [Download the latest release source](https://github.com/ResponsiveBP/Responsive/archive/4.0.1.zip).
- Clone the repo: `git clone https://github.com/ResponsiveBP/Responsive.git`.
- Install with [Bower](http://bower.io): `bower install responsive`.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "responsive",
"description": "A super lightweight HTML, Sass, CSS, and JavaScript framework for building responsive websites.",
"version": "4.0.0",
"version": "4.0.1",
"homepage": "http://responsivebp.com",
"authors": [
"James South"
Expand Down
9 changes: 6 additions & 3 deletions build/responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Copyright (c), James South.
Licensed under the MIT License.
============================================================================== */
/*! Responsive v4.0.0 | MIT License | responsivebp.com */
/*! Responsive v4.0.1 | MIT License | responsivebp.com */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
Expand Down Expand Up @@ -4815,10 +4815,13 @@ table {
padding: 0 .5rem;
border-top: solid 1px silver; }

.expand,
.trans,
.collapse {
-webkit-transition: height .5s ease, width .5s ease;
transition: height .5s ease, width .5s ease;
transition: height .5s ease, width .5s ease; }

.expand,
.collapse {
display: block;
height: auto;
margin-top: 0;
Expand Down
6 changes: 3 additions & 3 deletions build/responsive.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Licensed under the MIT License.
============================================================================== */

/*! Responsive v4.0.0 | MIT License | responsivebp.com */
/*! Responsive v4.0.1 | MIT License | responsivebp.com */

/*
* Responsive Core
Expand Down Expand Up @@ -1732,7 +1732,7 @@
var eventToTrigger = $.Event(completeEvent);

// Ensure the height/width is set to auto.
self.$target[self.options.dimension]("");
self.$target.removeClass("trans")[self.options.dimension]("");

self.transitioning = false;

Expand Down Expand Up @@ -1770,7 +1770,7 @@

// Remove or add the expand classes.
this.$target[method]("collapse");
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand");
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand trans");

this.$target.onTransitionEnd(complete);
};
Expand Down
2 changes: 1 addition & 1 deletion build/responsive.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/responsive.min.js

Large diffs are not rendered by default.

Binary file modified dist/responsive.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "responsive",
"description": "A super lightweight HTML, Sass, CSS, and JavaScript framework for building responsive websites.",
"version": "4.0.0",
"version": "4.0.1",
"keywords": [
"html",
"css",
Expand Down
2 changes: 1 addition & 1 deletion src/js/responsive.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Licensed under the MIT License.
============================================================================== */

/*! Responsive v4.0.0 | MIT License | responsivebp.com */
/*! Responsive v4.0.1 | MIT License | responsivebp.com */

/*
* Responsive Core
Expand Down
4 changes: 2 additions & 2 deletions src/js/responsive.dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
var eventToTrigger = $.Event(completeEvent);

// Ensure the height/width is set to auto.
self.$target[self.options.dimension]("");
self.$target.removeClass("trans")[self.options.dimension]("");

self.transitioning = false;

Expand Down Expand Up @@ -206,7 +206,7 @@

// Remove or add the expand classes.
this.$target[method]("collapse");
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand");
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand trans");

this.$target.onTransitionEnd(complete);
};
Expand Down
2 changes: 1 addition & 1 deletion src/sass/partials/_copyright.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
Licensed under the MIT License.
============================================================================== */

/*! Responsive v4.0.0 | MIT License | responsivebp.com */
/*! Responsive v4.0.1 | MIT License | responsivebp.com */
6 changes: 5 additions & 1 deletion src/sass/partials/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
}

// Animation styles
.expand,
.trans,
.collapse {
transition: height .5s ease, width .5s ease;
}

.expand,
.collapse {
display: block;
height: auto;
margin-top: 0;
Expand Down

0 comments on commit 7b84182

Please sign in to comment.