backbone-toolbar
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1116,2 +1116,4 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
id: _underscore2.default.uniqueId('button-'), | ||
attributes: {}, | ||
disabled: false, | ||
text: '', | ||
@@ -1147,6 +1149,6 @@ iconLeft: null, | ||
var jade_interp; | ||
;var locals_for_with = (locals || {});(function (classes, iconLeft, iconRight, id, tabindex, text) { | ||
;var locals_for_with = (locals || {});(function (attributes, classes, disabled, iconLeft, iconRight, id, tabindex, text) { | ||
jade_mixins["buttonMixin"] = jade_interp = function(options){ | ||
var block = (this && this.block), attributes = (this && this.attributes) || {}; | ||
buf.push("<button" + (jade.attrs(jade.merge([{"id": jade.escape(options.id),"type": "button","role": "button","tabindex": jade.escape(options.tabindex),"class": (jade_interp = [true], jade.joinClasses([options.classes].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))},options.attributes]), true)) + ">"); | ||
buf.push("<button" + (jade.attrs(jade.merge([{"id": jade.escape(options.id),"type": "button","role": "button","tabindex": jade.escape(options.tabindex),"disabled": jade.escape(options.disabled),"class": (jade_interp = [true], jade.joinClasses([options.classes].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))},options.attributes]), true)) + ">"); | ||
if ( options.iconLeft) | ||
@@ -1165,4 +1167,5 @@ { | ||
classes: classes, | ||
attributes: {}, | ||
id: id, | ||
attributes: attributes || {}, | ||
disabled: disabled, | ||
tabindex: tabindex, | ||
@@ -1174,3 +1177,3 @@ iconLeft: iconLeft, | ||
jade_mixins["buttonMixin"](options);}.call(this,"classes" in locals_for_with?locals_for_with.classes:typeof classes!=="undefined"?classes:undefined,"iconLeft" in locals_for_with?locals_for_with.iconLeft:typeof iconLeft!=="undefined"?iconLeft:undefined,"iconRight" in locals_for_with?locals_for_with.iconRight:typeof iconRight!=="undefined"?iconRight:undefined,"id" in locals_for_with?locals_for_with.id:typeof id!=="undefined"?id:undefined,"tabindex" in locals_for_with?locals_for_with.tabindex:typeof tabindex!=="undefined"?tabindex:undefined,"text" in locals_for_with?locals_for_with.text:typeof text!=="undefined"?text:undefined));;return buf.join(""); | ||
jade_mixins["buttonMixin"](options);}.call(this,"attributes" in locals_for_with?locals_for_with.attributes:typeof attributes!=="undefined"?attributes:undefined,"classes" in locals_for_with?locals_for_with.classes:typeof classes!=="undefined"?classes:undefined,"disabled" in locals_for_with?locals_for_with.disabled:typeof disabled!=="undefined"?disabled:undefined,"iconLeft" in locals_for_with?locals_for_with.iconLeft:typeof iconLeft!=="undefined"?iconLeft:undefined,"iconRight" in locals_for_with?locals_for_with.iconRight:typeof iconRight!=="undefined"?iconRight:undefined,"id" in locals_for_with?locals_for_with.id:typeof id!=="undefined"?id:undefined,"tabindex" in locals_for_with?locals_for_with.tabindex:typeof tabindex!=="undefined"?tabindex:undefined,"text" in locals_for_with?locals_for_with.text:typeof text!=="undefined"?text:undefined));;return buf.join(""); | ||
} | ||
@@ -1218,2 +1221,3 @@ | ||
id: _underscore2.default.uniqueId('dropdown-button-'), | ||
disabled: false, | ||
text: '', | ||
@@ -1257,3 +1261,3 @@ iconLeft: null, | ||
var block = (this && this.block), attributes = (this && this.attributes) || {}; | ||
buf.push("<button" + (jade.attrs(jade.merge([{"id": jade.escape(options.id),"type": "button","role": "button","tabindex": jade.escape(options.tabindex),"class": (jade_interp = [true], jade.joinClasses([options.classes].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))},options.attributes]), true)) + ">"); | ||
buf.push("<button" + (jade.attrs(jade.merge([{"id": jade.escape(options.id),"type": "button","role": "button","tabindex": jade.escape(options.tabindex),"disabled": jade.escape(options.disabled),"class": (jade_interp = [true], jade.joinClasses([options.classes].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))},options.attributes]), true)) + ">"); | ||
if ( options.iconLeft) | ||
@@ -1260,0 +1264,0 @@ { |
{ | ||
"main": "dist/backbone-toolbar.js", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist" |
@@ -0,0 +0,0 @@ # backbone-toolbar |
Sorry, the diff of this file is not supported yet
135778
1527