1
0
mirror of synced 2024-11-15 10:47:41 +01:00

Merge branch 'd98762625-init-dish'

This commit is contained in:
n1474335 2019-04-12 16:25:38 +01:00
commit aedac94e40

View File

@ -21,8 +21,8 @@ class Dish {
* @param {Dish} [dish=null] - A dish to clone
*/
constructor(dish=null) {
this.value = [];
this.type = Dish.BYTE_ARRAY;
this.value = new ArrayBuffer(0);
this.type = Dish.ARRAY_BUFFER;
if (dish &&
dish.hasOwnProperty("value") &&