Skip to content

Commit

Permalink
Bumping version to 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf committed Nov 21, 2013
1 parent 8eb1566 commit 90b42f7
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 51 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-addons.bootstrap_for_ember",
"version": "0.5.1",
"version": "0.5.2",
"description": "Bootstrap for Ember.js",
"homepage": "http://ember-addons.github.io/bootstrap-for-ember",
"authors": [
Expand Down
11 changes: 8 additions & 3 deletions dist/js/bs-button.max.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@
classNameBindings: ['blockClass'],
classTypePrefix: 'btn',
block: null,
attributeBindings: ['disabled', 'dismiss:data-dismiss'],
attributeBindings: ['disabled', 'dismiss:data-dismiss', '_type:type'],
_type: 'button',
bubbles: true,
init: function() {
var attr, key, val, _ref, _results, _results1;
this._super();
Expand All @@ -133,7 +135,7 @@
}
_results1 = [];
for (attr in this) {
if (attr.match(/^data-\w*$/) != null) {
if (attr.match(/^data-[\w-]*$/) != null) {
_results1.push(this.attributeBindings.pushObject(attr));
}
}
Expand All @@ -147,7 +149,10 @@
return null;
}
}).property('block').cacheable(),
click: function() {
click: function(evt) {
if (!this.get('bubbles')) {
evt.stopPropagation();
}
return this.sendAction('clicked');
},
loadingChanged: (function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/bs-button.min.js

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

2 changes: 1 addition & 1 deletion dist/js/bs-core.max.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
extraSmallSizeClass: (function() {
var pref;
pref = this.get('classTypePrefix');
if (this.sx) {
if (this.xs) {
return "" + pref + "-xs";
} else {
return null;
Expand Down
Loading

0 comments on commit 90b42f7

Please sign in to comment.