projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/TestCompiler.vala
[app.Builder.js]
/
tests
/
JsCoreExecTest.vala
diff --git
a/tests/JsCoreExecTest.vala
b/tests/JsCoreExecTest.vala
index
7c468cb
..
576d3db
100644
(file)
--- a/
tests/JsCoreExecTest.vala
+++ b/
tests/JsCoreExecTest.vala
@@
-1,7
+1,9
@@
+// valac -g --vapidir ../src/vapi JsCoreExecTest.vala ../src/Palete/Javascript.vala ../src/c/jscore_object_call_as_function.c --pkg javascriptcore --pkg libsoup-2.4 --pkg webkit2gtk-3.0 --pkg gtk+-3.0 -o /tmp/jstest
+
int main (string[] args) {
int main (string[] args) {
- var js = Javascript.singleton();
+ var js =
Palete.
Javascript.singleton();
js.executeFile("/home/alan/gitlive/app.Builder.js/tests/hello.js",
"hello", "{}");
js.executeFile("/home/alan/gitlive/app.Builder.js/tests/hello.js",
"hello", "{}");