Skip to content

Commit e58ebe2

Browse files
authored
Update webbuilder.js
1 parent 54be637 commit e58ebe2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/js/webbuilder.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ export const webbuilder = {
1616
this.container = container;
1717
this.components = components;
1818
}
19-
else {
20-
throw new Error('toolbox should be instance of BuilderToolbox, container should be instance of BuilderContainer')
21-
}
19+
else throw new Error('toolbox should be instance of BuilderToolbox, container should be instance of BuilderContainer')
2220
},
2321

2422
// Define new component
@@ -50,4 +48,4 @@ export const webbuilder = {
5048
});
5149
return result;
5250
}
53-
}
51+
}

0 commit comments

Comments
 (0)