You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beautify option in bootstrap token is true by default, if users want to set it to false, it doesn't work because this code:
/*
Appends only truthy values that are not promises.
*/
_appendOption: function(options, attributeName) {
let attrValue = this.get(attributeName);
if (attrValue && typeof attrValue.then !== 'function') {
options[attributeName] = attrValue;
}
return options;
},
attrValue will be false when set beautify to be false, then the if check will by pass the assignment, which causes unable to set beautify option.
The text was updated successfully, but these errors were encountered:
beautify option in bootstrap token is true by default, if users want to set it to false, it doesn't work because this code:
/*
Appends only truthy values that are not promises.
*/
_appendOption: function(options, attributeName) {
let attrValue = this.get(attributeName);
if (attrValue && typeof attrValue.then !== 'function') {
options[attributeName] = attrValue;
}
return options;
},
attrValue will be false when set beautify to be false, then the if check will by pass the assignment, which causes unable to set beautify option.
The text was updated successfully, but these errors were encountered: