From 5a88f5558977edf01de6a0e280b22397d72dd67a Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Mon, 17 Jun 2019 14:12:39 -0700 Subject: [PATCH] use stub --- blank_project/assembly/main.ts | 2 +- gulp-utils.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blank_project/assembly/main.ts b/blank_project/assembly/main.ts index abdfeb83..1033bd21 100755 --- a/blank_project/assembly/main.ts +++ b/blank_project/assembly/main.ts @@ -9,7 +9,7 @@ import { Greeter } from "./model.near"; // using `export` keyword. export function hello(): string { - let greeter = new Greeter("Hello"); + let greeter = new Greeter("hello"); return greeter.greet("world"); } // << hello-snippet diff --git a/gulp-utils.js b/gulp-utils.js index b1018e23..bbe50429 100644 --- a/gulp-utils.js +++ b/gulp-utils.js @@ -17,7 +17,8 @@ function compile(inputFile, outputFile, callback) { "--baseDir", "assembly", "--binaryFile", outputFile, "--sourceMap", - "--measure" + "--measure", + "--runtime", "stub" ], callback); }