website: remove console.log
This commit is contained in:
parent
897201a74d
commit
ee3e416952
1 changed files with 0 additions and 1 deletions
|
|
@ -48,7 +48,6 @@ class FontStyleProp {
|
||||||
valueInStyle(s) {
|
valueInStyle(s) {
|
||||||
let italic = s['font-style'] == 'italic' || s['font-style'].indexOf('oblique') != -1
|
let italic = s['font-style'] == 'italic' || s['font-style'].indexOf('oblique') != -1
|
||||||
let weight = parseFloat(s['font-weight'])
|
let weight = parseFloat(s['font-weight'])
|
||||||
console.log("s['font-weight']:", s['font-weight'])
|
|
||||||
if (isNaN(weight)) {
|
if (isNaN(weight)) {
|
||||||
weight = s['font-weight']
|
weight = s['font-weight']
|
||||||
if (weight == 'thin') { return italic ? 'thin-italic' : 'thin' }
|
if (weight == 'thin') { return italic ? 'thin-italic' : 'thin' }
|
||||||
|
|
|
||||||
Reference in a new issue