Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 0b66ec3

Browse files
2 parents 013b560 + d319bc5 commit 0b66ec3

File tree

5 files changed

+441
-441
lines changed

5 files changed

+441
-441
lines changed

src/core/expressions/app.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/expressions/app.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ class Tests {
88
}
99

1010
start() {
11-
var e = Expression.Add(Expression.Constant(1), Expression.Constant(2));
12-
var l = Expression.Lambda<() => number>(e);
13-
var c = l.CompileToFunction();
14-
var f = l.Compile();
11+
var e = Expression.add(Expression.constant(1), Expression.constant(2));
12+
var l = Expression.lambda<() => number>(e);
13+
var c = l.compileToFunction();
14+
var f = l.compile();
1515
var b = l.toBonsai();
1616
var x = f();
1717
this.element.innerHTML = "Eval(" + l + ") = Eval(" + c + ") = Eval(" + JSON.stringify(b) + ") = " + x;

0 commit comments

Comments
 (0)