From 7d763e0776b272dce8368a4498f37ed6390ccd71 Mon Sep 17 00:00:00 2001 From: Swastik Baranwal Date: Wed, 2 Oct 2019 18:16:08 +0530 Subject: [PATCH] fix js build --- .gitignore | 2 +- vlib/builtin/js/hashmap.v | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 vlib/builtin/js/hashmap.v diff --git a/.gitignore b/.gitignore index 58a4924b9c..376f361147 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ *.o .*.c *.tmp.c - +vjs *.obj *.pdb diff --git a/vlib/builtin/js/hashmap.v b/vlib/builtin/js/hashmap.v new file mode 100644 index 0000000000..6eccce0d3e --- /dev/null +++ b/vlib/builtin/js/hashmap.v @@ -0,0 +1,13 @@ +// Copyright (c) 2019 Alexander Medvednikov. All rights reserved. +// Use of this source code is governed by an MIT license +// that can be found in the LICENSE file. + +module builtin + +/* +TODO: Implement hashmap for js when hashmap for V is done. +*/ + +fn foo() { + +}