You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/09/15 11:28:23 UTC

[GitHub] [royale-compiler] Harbs commented on issue #159: Minification issue

Harbs commented on issue #159:
URL: https://github.com/apache/royale-compiler/issues/159#issuecomment-692654639


   For reference, here's the cross-compiler ComponentRoute class before minification:
   ````
   /**
    * Generated by Apache Royale Compiler from org/apache/royale/routing/ComponentRoute.as
    * org.apache.royale.routing.ComponentRoute
    *
    * @fileoverview
    *
    * @suppress {missingRequire|checkTypes|accessControls}
    */
   
   goog.provide('org.apache.royale.routing.ComponentRoute');
   /* Royale Dependency List: org.apache.royale.core.IParent*/
   
   
   
   
   /**
    * @constructor
    */
   org.apache.royale.routing.ComponentRoute = function() {
   };
   
   
   /**
    * @type {Object}
    */
   org.apache.royale.routing.ComponentRoute.prototype.component;
   
   
   /**
    * @type {string}
    */
   org.apache.royale.routing.ComponentRoute.prototype.baseName;
   
   
   /**
    * @type {org.apache.royale.core.IParent}
    */
   org.apache.royale.routing.ComponentRoute.prototype.parent;
   
   
   /**
    * @type {string}
    */
   org.apache.royale.routing.ComponentRoute.prototype.title;
   
   
   /**
    * @type {boolean}
    */
   org.apache.royale.routing.ComponentRoute.prototype.defaultRoute = false;
   
   
   /**
    * Metadata
    *
    * @type {Object.<string, Array.<Object>>}
    */
   org.apache.royale.routing.ComponentRoute.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'ComponentRoute', qName: 'org.apache.royale.routing.ComponentRoute', kind: 'class' }] };
   
   
   
   /**
    * Reflection
    *
    * @return {Object.<string, Function>}
    */
   org.apache.royale.routing.ComponentRoute.prototype.ROYALE_REFLECTION_INFO = function () {
     return {
       variables: function () {
         return {
           'component': { type: 'Class', get_set: function (/** org.apache.royale.routing.ComponentRoute */ inst, /** * */ v) {return v !== undefined ? inst.component = v : inst.component;}},
           'baseName': { type: 'String', get_set: function (/** org.apache.royale.routing.ComponentRoute */ inst, /** * */ v) {return v !== undefined ? inst.baseName = v : inst.baseName;}},
           'parent': { type: 'org.apache.royale.core.IParent', get_set: function (/** org.apache.royale.routing.ComponentRoute */ inst, /** * */ v) {return v !== undefined ? inst.parent = v : inst.parent;}},
           'title': { type: 'String', get_set: function (/** org.apache.royale.routing.ComponentRoute */ inst, /** * */ v) {return v !== undefined ? inst.title = v : inst.title;}},
           'defaultRoute': { type: 'Boolean', get_set: function (/** org.apache.royale.routing.ComponentRoute */ inst, /** * */ v) {return v !== undefined ? inst.defaultRoute = v : inst.defaultRoute;}}
         };
       },
       methods: function () {
         return {
           'ComponentRoute': { type: '', declaredBy: 'org.apache.royale.routing.ComponentRoute'}
         };
       }
     };
   };
   /**
    * @const
    * @type {number}
    */
   org.apache.royale.routing.ComponentRoute.prototype.ROYALE_COMPILE_FLAGS = 10;
   ````


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org