2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-30 15:13:36 +00:00

merge init-dish & update tests

This commit is contained in:
d98762625
2019-04-08 18:06:01 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -36,8 +36,8 @@ class Dish {
* literal input
*/
constructor(dishOrInput=null, type = null) {
this.value = [];
this.type = Dish.BYTE_ARRAY;
this.value = new ArrayBuffer(0);
this.type = Dish.ARRAY_BUFFER;
// Case: dishOrInput is dish object
if (dishOrInput &&