webmcp

view framework/env/ui/is_partial_loading_enabled.lua @ 31:1cd9e69b85cb

add execute.load_chunk(args)

load_chunk loads the content of a lua file and returns the code.
It can construct the path name easily so you can put helper code in
seperate files for DRYness.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 02:34:04 2010 +0200 (2010-10-05)
parents f3d3203cd2e4
children
line source
1 --[[--
2 result =
3 ui.is_partial_loading_enabled()
5 This function returns true, if partial loading has been enabled by calling
6 ui.enable_partial_loading().
8 --]]--
10 function ui.is_partial_loading_enabled()
11 return ui._partial_loading_enabled
12 end

Impressum / About Us