Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf committed May 15, 2014
1 parent e18a4d9 commit f20d921
Show file tree
Hide file tree
Showing 25 changed files with 705 additions and 69 deletions.
2 changes: 1 addition & 1 deletion app/scripts/components/BsButtonComponent.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Bootstrap.BsButtonComponent = Ember.Component.extend(Bootstrap.TypeSupport, Boot
classTypePrefix: 'btn'
clickedParam: null
block: null
attributeBindings: ['disabled', 'dismiss:data-dismiss', '_type:type']
attributeBindings: ['disabled', 'dismiss:data-dismiss', '_type:type', 'style']
_type: 'button'
bubbles: true
allowedProperties: ['title', 'type', 'size', 'block', 'disabled', 'clicked', 'dismiss', 'class']
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": "ember-addons.bootstrap_for_ember",
"version": "0.6.1",
"version": "0.7.0",
"description": "Bootstrap for Ember.js",
"homepage": "http://ember-addons.github.io/bootstrap-for-ember",
"authors": [
Expand Down
5 changes: 3 additions & 2 deletions dist/js/bs-alert.max.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,18 @@
classTypePrefix: 'alert',
attributeBindings: ['data-timeout'],
dismissAfter: 0,
closedParam: null,
didInsertElement: function() {
var _this = this;
if (this.dismissAfter > 0) {
Ember.run.later(this, 'dismiss', this.dismissAfter * 1000);
}
Ember.$("#" + this.elementId).bind('closed.bs.alert', function() {
_this.sendAction('closed');
_this.sendAction('closed', _this.get('closedParam'));
return _this.destroy();
});
return Ember.$("#" + this.elementId).bind('close.bs.alert', function() {
return _this.sendAction('close');
return _this.sendAction('close', _this.get('closedParam'));
});
},
dismiss: function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/bs-alert.min.js

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

21 changes: 12 additions & 9 deletions dist/js/bs-basic.max.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
this["Ember"]["TEMPLATES"]["components/bs-panel"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [4,'>= 1.0.0'];
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
var buffer = '', stack1, hashTypes, hashContexts, escapeExpression=this.escapeExpression, self=this;
var buffer = '', stack1, hashTypes, hashContexts, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this;

function program1(depth0,data) {

Expand All @@ -125,13 +125,14 @@ function program1(depth0,data) {
}
function program2(depth0,data) {

var buffer = '', hashContexts, hashTypes;
var buffer = '', stack1, hashContexts, hashTypes, options;
data.buffer.push("\n <a class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" ");
hashContexts = {'href': depth0};
hashTypes = {'href': "ID"};
data.buffer.push(escapeExpression(helpers.bindAttr.call(depth0, {hash:{
options = {hash:{
'href': ("collapsibleBodyLink")
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
data.buffer.push(">\n ");
hashTypes = {};
hashContexts = {};
Expand Down Expand Up @@ -164,19 +165,21 @@ function program6(depth0,data) {

function program8(depth0,data) {

var buffer = '', hashContexts, hashTypes;
var buffer = '', stack1, hashContexts, hashTypes, options;
data.buffer.push("\n <div ");
hashContexts = {'id': depth0};
hashTypes = {'id': "ID"};
data.buffer.push(escapeExpression(helpers.bindAttr.call(depth0, {hash:{
options = {hash:{
'id': ("collapsibleBodyId")
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
data.buffer.push(" ");
hashContexts = {'class': depth0};
hashTypes = {'class': "STRING"};
data.buffer.push(escapeExpression(helpers.bindAttr.call(depth0, {hash:{
options = {hash:{
'class': (":panel-collapse :collapse open:in")
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
},contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
data.buffer.push(">\n <div class=\"panel-body\">");
hashTypes = {};
hashContexts = {};
Expand Down
Loading

0 comments on commit f20d921

Please sign in to comment.