Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 577b2bf15b
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (21 sloc) 0.714 kb
<snippet>
<content><![CDATA[
Server.start(
Server.http, // default configuration for a http server, default port is 8080
// Below is the Server.handler that will handle your requests,
// Select Server.start and do [ctrl+d] to obtain the doc
[
// embbed resources in resources directory
// {resources:@static_resource_directory("resources") },
// other js and css resources
// ${register:[]},
// the standard dispatcher for urls
// {dispatcher:$2},
// a simple page response for all page request, mostly for tutorials and beginners:)
// {title:"mypage", page:$1your_content_page_function}
]
)
]]></content>
<tabTrigger>Server.start</tabTrigger>
<scope>source.opa</scope>
</snippet>
Jump to Line
Something went wrong with that request. Please try again.