style nits

This commit is contained in:
DABH 2018-04-23 15:41:19 -07:00 committed by GitHub
parent 9aebcadf1b
commit 0a5a26c5e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,10 +105,7 @@ function applyStyle() {
return str;
}
var newLinesPresent = false;
if(str.indexOf('\n') != -1){
newLinesPresent = true;
}
var newLinesPresent = str.indexOf('\n') != -1;
var nestedStyles = this._styles;