Skip to content

Commit

Permalink
use stub
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenwang1996 committed Jun 17, 2019
1 parent 60aaba2 commit 5a88f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blank_project/assembly/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion gulp-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ function compile(inputFile, outputFile, callback) {
"--baseDir", "assembly",
"--binaryFile", outputFile,
"--sourceMap",
"--measure"
"--measure",
"--runtime", "stub"
], callback);
}

Expand Down

0 comments on commit 5a88f55

Please sign in to comment.