Code improvement

Cosmetic (comments, names, formatting)
This commit is contained in:
2014-03-26 10:18:02 +01:00
parent acc8cda04f
commit cc7d268610
36 changed files with 684 additions and 291 deletions

View File

@@ -30,9 +30,22 @@ create
feature {NONE} -- Initialization
-- tt
-- local
-- lst: ARRAYED_LIST [READABLE_STRING_GENERAL]
-- do
-- create lst.make (3)
-- lst.compare_objects
-- lst.extend ({STRING_32} "abc")
-- if lst.has ("abc") then
-- print ("found%N")
-- end
-- end
initialize
-- Initialize current service.
do
-- tt
initialize_router
initialize_filter
Precursor

View File

@@ -18,7 +18,17 @@ inherit
create
make_news
feature --States
feature {NONE} -- Initialization
make_news
do
page := 1
page_size := 8
query := "eiffel"
end
feature -- States
state: WSF_JSON_OBJECT
-- Return state which contains the current html and if there is an event handle attached
@@ -35,14 +45,7 @@ feature --States
end
end
feature
make_news
do
page := 1
page_size := 8
query := "eiffel"
end
feature -- Access
data: ITERABLE [GOOGLE_NEWS]
local

View File

@@ -32,7 +32,7 @@ feature
Precursor
create form.make
--Number 1
create textbox1.make ({STRING_32}"1")
create textbox1.make ({STRING_32} "1")
create n1_container.make ({STRING_32}"Number1", textbox1)
n1_container.add_validator (create {WSF_DECIMAL_VALIDATOR}.make ({STRING_32}"Invalid Number"))
n1_container.add_validator (create {OWN_VALIDATOR}.make_own)

View File

@@ -1,5 +1,5 @@
note
description: "Summary description for {IMAGE_SLIDER_PAGE}."
description: "Summary description for {SLIDER_PAGE}."
author: ""
date: "$Date$"
revision: "$Revision$"