From f91347006d9007b1045bad66a62b9920b6f0456a Mon Sep 17 00:00:00 2001 From: Adam Koprowski Date: Sat, 3 Dec 2011 18:01:53 +0100 Subject: [PATCH] Slight adjustments for new Server.start --- hello_wiki_rest.opa | 2 +- hello_wiki_rest_client.opa | 2 +- hello_wiki_rest_client_customizable.opa | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hello_wiki_rest.opa b/hello_wiki_rest.opa index 8a2644f..4f83663 100644 --- a/hello_wiki_rest.opa +++ b/hello_wiki_rest.opa @@ -79,7 +79,7 @@ function start(url) { } Server.start(Server.http, - [ {bundle: @static_include_directory("resources")} + [ {resources: @static_include_directory("resources")} , {dispatch: start} ] ) diff --git a/hello_wiki_rest_client.opa b/hello_wiki_rest_client.opa index 4b57568..47f23f9 100644 --- a/hello_wiki_rest_client.opa +++ b/hello_wiki_rest_client.opa @@ -107,7 +107,7 @@ function start(url) { } Server.start(Server.http, - [ {bundle: @static_include_directory("resources")} + [ {resources: @static_include_directory("resources")} , {dispatch: start} ] ) diff --git a/hello_wiki_rest_client_customizable.opa b/hello_wiki_rest_client_customizable.opa index 184cafb..91226f1 100644 --- a/hello_wiki_rest_client_customizable.opa +++ b/hello_wiki_rest_client_customizable.opa @@ -122,7 +122,7 @@ function start(url) { } Server.start(Server.http, - [ {bundle: @static_include_directory("resources")} + [ {resources: @static_include_directory("resources")} , {dispatch: start} ] )