Skip to content

Commit

Permalink
Release v0.2.21
Browse files Browse the repository at this point in the history
  • Loading branch information
fhawkes committed May 17, 2015
1 parent f04f1f7 commit 57da19f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 15 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<a name="0.2.21"></a>
### 0.2.21 (2015-05-17)


#### Features

* **card:** now passing section type through on certain callbacks ((f04f1f70))


<a name="0.2.20"></a>
### 0.2.20 (2015-05-17)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "decksterjs",
"version": "0.2.20",
"version": "0.2.21",
"description": "decksterjs",
"dependencies": {
"jquery": "~1.11.2",
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.deckster.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! deckster - v0.2.20 - 2015-05-17
/*! deckster - v0.2.21 - 2015-05-17
* https://github.com/DecksterTeam/DecksterJS
* Copyright (c) 2015 Deckster Team; Licensed MIT */
.centered-vert, .deckster-deck-toolbar .deck-search-wrapper {
Expand Down
16 changes: 8 additions & 8 deletions dist/jquery.deckster.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! deckster - v0.2.20 - 2015-05-17
/*! deckster - v0.2.21 - 2015-05-17
* https://github.com/DecksterTeam/DecksterJS
* Copyright (c) 2015 Deckster Team; Licensed MIT */
;(function (window, undefined) {
Expand Down Expand Up @@ -563,7 +563,7 @@
$container.html(html);

this[section + 'Loaded'] = true;
section === 'summary' ? this.options.onSummaryLoad(this) : this.options.onDetailsLoad(this);
section === 'summary' ? this.options.onSummaryLoad(this, 'summary') : this.options.onDetailsLoad(this, 'details');

if (reloading && this.currentSection === section) {
this.options.onReload(this);
Expand Down Expand Up @@ -814,10 +814,10 @@
this.$el.find('.deckster-' + this.currentSection).fadeIn(200, $.proxy(function() {
if(this.currentSection === 'summary'){
this.options.onSummaryDisplayed(this);
this.options.resizeSummaryContent(this);
this.options.resizeSummaryContent(this, 'summary');
} else {
this.options.onDetailsDisplayed(this);
this.options.resizeDetailsContent(this);
this.options.resizeDetailsContent(this, 'details');
}
}, this));
}, this));
Expand Down Expand Up @@ -854,10 +854,10 @@
this.toggleCard($.proxy(function() {
if(this.currentSection === 'summary') {
this.options.onSummaryDisplayed(this);
this.options.resizeSummaryContent(this);
this.options.resizeSummaryContent(this, 'summary');
} else {
this.options.onDetailsDisplayed(this);
this.options.resizeDetailsContent(this);
this.options.resizeDetailsContent(this, 'details');
}
}, this));
}
Expand All @@ -873,8 +873,8 @@
* @returns {Card}
*/
fn.resizeCardViews = function () {
this.options.resizeSummaryContent(this);
this.options.resizeDetailsContent(this);
this.options.resizeSummaryContent(this, 'summary');
this.options.resizeDetailsContent(this, 'details');
return this;
};

Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.deckster.min.css

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

4 changes: 2 additions & 2 deletions dist/jquery.deckster.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deckster",
"version": "0.2.20",
"version": "0.2.21",
"description": "decksterjs",
"keywords": [
"jquery-plugin"
Expand Down
2 changes: 1 addition & 1 deletion src/main/styles/deckster.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! deckster - v0.2.20 - 2015-05-17
/*! deckster - v0.2.21 - 2015-05-17
* https://github.com/DecksterTeam/DecksterJS
* Copyright (c) 2015 Deckster Team; Licensed MIT */
.centered-vert, .deckster-deck-toolbar .deck-search-wrapper {
Expand Down

0 comments on commit 57da19f

Please sign in to comment.