Add item alias

This commit is contained in:
YNH Webdev
2013-11-03 12:51:35 +01:00
parent dad4191c40
commit 4d07a6330d
3 changed files with 5 additions and 4 deletions

View File

@@ -6,11 +6,12 @@ note
deferred class
WSF_ENTITY
feature -- Access
item (a_field: READABLE_STRING_GENERAL): detachable ANY
item alias "[]"(a_field: READABLE_STRING_GENERAL): detachable ANY
-- Value for field item `a_field'.
deferred
end
end
end

View File

@@ -568,4 +568,4 @@ start_modal = lazy_load ['assets/bootstrap.min.js'], (action)->
.done (data) ->
modal.find('.modal-body').append(data)
start_modal_big = start_modal
start_modal_big = start_modal

View File

@@ -40,7 +40,7 @@ feature -- Access
image: detachable STRING
item (a_field: READABLE_STRING_GENERAL): detachable ANY
item alias "[]" (a_field: READABLE_STRING_GENERAL): detachable ANY
-- <Precursor>
do
if a_field.same_string ("title") then