Skip to content

Commit

Permalink
fixed styling bug and build new libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zangerle committed Oct 5, 2013
1 parent 89226ce commit 76020ce
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 deletions.
11 changes: 6 additions & 5 deletions assets/js/husky/dist/husky.js
Original file line number Diff line number Diff line change
Expand Up @@ -23248,6 +23248,7 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
instanceName: 'undefined', // instance name
defaultLabel: 'Please choose', // default label which gets displayed
checkedAllLabel: 'All Languages' // Label if all checked
// selectedElements: [] TODO not yet implemented
};


Expand Down Expand Up @@ -23438,11 +23439,11 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
return [
'<li data-key="', value, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value, '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value, '</div>',
' </div>',
'</li>'
].join('');
Expand All @@ -23452,11 +23453,11 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
return [
'<li data-key="', value.id, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value[property], '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value[property], '</div>',
' </div>',
'</li>'
].join('');
Expand Down Expand Up @@ -24046,7 +24047,7 @@ define('husky_extensions/collection',[],function() {
};

app.core.dom.prop = function(selector, propertyName, value) {
if (value !== 'undefined') {
if (value !== undefined) {
return $(selector).prop(propertyName, value);
} else {
return $(selector).prop(propertyName);
Expand Down
2 changes: 1 addition & 1 deletion assets/js/husky/dist/husky.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/husky.js
Original file line number Diff line number Diff line change
Expand Up @@ -23248,6 +23248,7 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
instanceName: 'undefined', // instance name
defaultLabel: 'Please choose', // default label which gets displayed
checkedAllLabel: 'All Languages' // Label if all checked
// selectedElements: [] TODO not yet implemented
};


Expand Down Expand Up @@ -23438,11 +23439,11 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
return [
'<li data-key="', value, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value, '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value, '</div>',
' </div>',
'</li>'
].join('');
Expand All @@ -23452,11 +23453,11 @@ define('__component__$dropdown-multiple-select@husky',[], function() {
return [
'<li data-key="', value.id, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value[property], '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value[property], '</div>',
' </div>',
'</li>'
].join('');
Expand Down Expand Up @@ -24046,7 +24047,7 @@ define('husky_extensions/collection',[],function() {
};

app.core.dom.prop = function(selector, propertyName, value) {
if (value !== 'undefined') {
if (value !== undefined) {
return $(selector).prop(propertyName, value);
} else {
return $(selector).prop(propertyName);
Expand Down
2 changes: 1 addition & 1 deletion dist/husky.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions husky_components/dropdown-multiple-select/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ define([], function() {
return [
'<li data-key="', value, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value, '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value, '</div>',
' </div>',
'</li>'
].join('');
Expand All @@ -240,11 +240,11 @@ define([], function() {
return [
'<li data-key="', value.id, '">',
' <div class="grid-row">',
' <div class="grid-col-1">',
' <div class="grid-col-2">',
' <input type="checkbox" class="form-element custom-checkbox"/>',
' <span class="custom-checkbox-icon"></span>',
' </div>',
' <div class="grid-col-11 m-top-10 item-value">', value[property], '</div>',
' <div class="grid-col-10 m-top-10 item-value">', value[property], '</div>',
' </div>',
'</li>'
].join('');
Expand Down
2 changes: 1 addition & 1 deletion husky_extensions/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
};

app.core.dom.prop = function(selector, propertyName, value) {
if (value !== 'undefined') {
if (value !== undefined) {
return $(selector).prop(propertyName, value);
} else {
return $(selector).prop(propertyName);
Expand Down

0 comments on commit 76020ce

Please sign in to comment.