From 8353f34c4568bed0108094971267e67da321eaba Mon Sep 17 00:00:00 2001 From: YNH Webdev Date: Fri, 27 Sep 2013 11:02:10 +0200 Subject: [PATCH] Adjust widgetapp --- examples/widgetapp/googlenews/google_news_datasource.e | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/widgetapp/googlenews/google_news_datasource.e b/examples/widgetapp/googlenews/google_news_datasource.e index f76c5fe0..c0a72702 100644 --- a/examples/widgetapp/googlenews/google_news_datasource.e +++ b/examples/widgetapp/googlenews/google_news_datasource.e @@ -20,14 +20,14 @@ create feature --States - state: JSON_OBJECT + state: WSF_JSON_OBJECT -- Return state which contains the current html and if there is an event handle attached do Result := Precursor - Result.put (create {JSON_STRING}.make_json (query), create {JSON_STRING}.make_json ("query")) + Result.put_string (query, create {JSON_STRING}.make_json ("query")) end - set_state (new_state: JSON_OBJECT) + set_state (new_state: WSF_JSON_OBJECT) do Precursor (new_state) if attached {JSON_STRING} new_state.item (create {JSON_STRING}.make_json ("query")) as new_query then