def linolib_intro(self):

        extjs = settings.SITE.plugins.extjs

        def fn():
            yield "// lino.js --- generated %s by %s for %s." % (
                time.ctime(), cgi.escape(settings.SITE.site_version()),
                jsgen.get_user_profile())
            # lino.__version__)
            #~ // $site.title ($lino.welcome_text())
            yield "Ext.BLANK_IMAGE_URL = '%s';" % extjs.build_lib_url(
                'resources/images/default/s.gif')
            yield "LANGUAGE_CHOICES = %s;" % py2js(
                list(settings.SITE.LANGUAGE_CHOICES))
            yield "MEDIA_URL = %s;" % py2js(settings.SITE.build_media_url())

        return '\n'.join(fn())
Called from :xfile:`linolib.js`.
dataset/ETHPy150Open lsaffre/lino/lino/modlib/extjs/ext_renderer.py/ExtRenderer.linolib_intro