All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.resources.export.ftlh Maven / Gradle / Ivy

goog.module('${module}$GWT3Export');

const EXPORT = goog.require('${target}');

<#if isNative>
goog.exportSymbol('${type}', EXPORT);
<#else>
const j_l_Object = goog.require('java.lang.Object$impl');
const $Util = goog.require('nativebootstrap.Util$impl');

class _EXPORT extends EXPORT {
    constructor() {
        EXPORT.$clinit();
        super();
        this.${ctor}();
    }
}

$Util.$setClassMetadata(_EXPORT, '${module}');
goog.exportSymbol('${type}', _EXPORT);


<#list methods as method>
goog.exportSymbol('${type}.<#if !method.isStatic>prototype.${method.name}', EXPORT.<#if !method.isStatic>prototype.${method.mangleName});





© 2015 - 2024 Weber Informatics LLC | Privacy Policy