Fail if other font types are found
This commit is contained in:
parent
6dc4b10b40
commit
121c183db1
@ -2494,7 +2494,7 @@ var Font = (function FontClosure() {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
warn('Font ' + type + ' is not supported');
|
error('Font ' + type + ' is not supported');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user