Add detection for opa (http://www.opalang.org/).

This commit is contained in:
Alok Menghrajani
2012-01-30 17:42:09 -08:00
parent 7974d23444
commit a096e3df66
3 changed files with 18 additions and 1 deletions

5
test/fixtures/hello_syntax1.opa vendored Normal file
View File

@@ -0,0 +1,5 @@
server = Server.one_page_bundle("Hello World",
[],
[],
_ -> <h1>Hello, world</h1>)

7
test/fixtures/hello_syntax2.opa vendored Normal file
View File

@@ -0,0 +1,7 @@
Server.start(
Server.http,
{
page: function() { <h1>Hello, world</h1> },
title: "Hello, world"
}
)