Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Updated to use cf-core and new docs template and adds dynamic animation duration based on content height #29

Merged
merged 19 commits into from
Aug 11, 2014

Conversation

himedlooff
Copy link
Contributor

No description provided.

@@ -1,6 +1,6 @@
{
"name": "cf-expandables",
"version": "0.3.5",
"version": "1.4.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.4?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The update adds a new feature.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it break back-compat, though?

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we should just go to 0.4.0 for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haaa sorry, didn't realize I changed the major part... Whoops!

@himedlooff
Copy link
Contributor Author

Fixed!

};

$.fn.expandable.calculateExpandDuration = function( height ) {
return height * 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put a max on these? Expandables can potentially be quite tall. At 500px tall, we're waiting 2 full seconds.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

name: Recommended expandable pattern
family: cf-expandables
notes:
- "Expandables can be built by combing the basic barebones structure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combining?

@Scotchester
Copy link
Contributor

Alrighty! Need to revisit some of the classing at some point (see #30), but this is good for now.

Scotchester added a commit that referenced this pull request Aug 11, 2014
Updated to use cf-core and new docs template and adds dynamic animation duration based on content height
@Scotchester Scotchester merged commit 609bb2f into cfpb:gh-pages Aug 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants