Don't require a non-null container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
60e47c759d
commit
9377548630
1 changed files with 0 additions and 4 deletions
|
@ -61,10 +61,6 @@ export default class Resizer<C extends IConfig = IConfig> {
|
||||||
},
|
},
|
||||||
public readonly config?: C,
|
public readonly config?: C,
|
||||||
) {
|
) {
|
||||||
if (!container) {
|
|
||||||
throw new Error("Resizer requires a non-null `container` arg");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.classNames = {
|
this.classNames = {
|
||||||
handle: "resizer-handle",
|
handle: "resizer-handle",
|
||||||
reverse: "resizer-reverse",
|
reverse: "resizer-reverse",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue