258259260261262263264265266267268
} } _citizen = citizen; _modules = zone.getModules(); _globals = globals; _global = new AnyNamespace(this); LocalizationPreferences prefs = zone.getLocalizationPreferences(); _language = prefs.getLanguage(); _locale = prefs.getLocaleInstance(); _timezone = prefs.getTimezoneInstance(); if (thread != null) {
625626627628629630631632633634635
public Any getNS(String name) { if (name == GLOBAL || name.equals(GLOBAL)) { return new AnyNamespace(this); } checkNamespace(name, false); Namespace ns = zone().getNamespace(name); return (ns != null) ? new AnyNamespace(ns) : Any.UNDEFINED; }