Using reference to vars in other .mobl files gives no errors
module mylibimport mylittetest
function test() {
mylittetest::GLOGGEDIN2 = true;
}and
application testimport mobl::ui::generic
import mylibvar GLOGGEDIN = false;
screen root() {
header(“test”)
}You get no mobl errors at all whatever you use like mylib::xxx, if its a function mylib::xxx() it reports missing function but not for vars causing analysis error and no generated .js/.css file at all. Try remove build directory before compiling the module file again.
Submitted by Terje Pedersen on 17 July 2011 at 11:25
Log in to post comments