webmcp
annotate framework/env/ui/is_partial_loading_enabled.lua @ 12:f3d3203cd2e4
Documentation for partial loading added
NOTE: Previous changeset d76a8857ba62 also modified behaviour of ui.script: Scripts containing "]]>" are now rejected to avoid ambiguities
NOTE: Previous changeset d76a8857ba62 also modified behaviour of ui.script: Scripts containing "]]>" are now rejected to avoid ambiguities
| author | jbe | 
|---|---|
| date | Fri Feb 19 16:43:29 2010 +0100 (2010-02-19) | 
| parents | d76a8857ba62 | 
| children | 
| rev | line source | 
|---|---|
| jbe/bsw@11 | 1 --[[-- | 
| jbe/bsw@11 | 2 result = | 
| jbe/bsw@11 | 3 ui.is_partial_loading_enabled() | 
| jbe/bsw@11 | 4 | 
| jbe@12 | 5 This function returns true, if partial loading has been enabled by calling | 
| jbe@12 | 6 ui.enable_partial_loading(). | 
| jbe/bsw@11 | 7 | 
| jbe/bsw@11 | 8 --]]-- | 
| jbe/bsw@11 | 9 | 
| jbe/bsw@11 | 10 function ui.is_partial_loading_enabled() | 
| jbe/bsw@11 | 11 return ui._partial_loading_enabled | 
| jbe/bsw@11 | 12 end |