Giter Club home page Giter Club logo

Comments (2)

alexeagle avatar alexeagle commented on July 19, 2024

this is for eg. goog.fx.* - we emit a var for the goog.fx part which conflicts with later making it a namespace.
an example symbol where this happens:

Var goog.fx{{Animation: function (new:goog.fx.Animation, (Array<number>|null), (Array<number>|null), number, (Function|null)=): undefined, AnimationEvent: function (new:goog.fx.AnimationEvent, string, (goog.fx.Animation|null)): undefined, Transition: function (this:goog.fx.Transition): ?, TransitionBase: function (new:goog.fx.TransitionBase): undefined, anim: {Animated: function (this:goog.fx.anim.Animated): ?, TIMEOUT: number, activeAnimations_: (Object<number,(goog.fx.anim.Animated|null)>|null), animationDelay_: (goog.async.AnimationDelay|goog.async.Delay|null), animationWindow_: (Window|null), cancelAnimationFrame_: function (): undefined, cycleAnimations_: function (number): undefined, registerAnimation: function ((goog.fx.anim.Animated|null)): undefined, requestAnimationFrame_: function (): undefined, setAnimationWindow: function ((Window|null)): undefined, ...}, dom: {BgColorTransform: function (new:goog.fx.dom.BgColorTransform, (Element|null), (Array<number>|null), (Array<number>|null), number, (Function|null)=): undefined, ColorTransform: function (new:goog.fx.dom.ColorTransform, (Element|null), (Array<number>|null), (Array<number>|null), number, (Function|null)=): undefined, Fade: function (new:goog.fx.dom.Fade, (Element|null), (Array<number>|null|number), (Array<number>|null|number), number, (Function|null)=): undefined, FadeIn: function (new:goog.fx.dom.FadeIn, (Element|null), number, (Function|null)=): undefined, FadeInAndShow: function (new:goog.fx.dom.FadeInAndShow, (Element|null), number, (Function|null)=): undefined, FadeOut: function (new:goog.fx.dom.FadeOut, (Element|null), number, (Function|null)=): undefined, FadeOutAndHide: function (new:goog.fx.dom.FadeOutAndHide, (Element|null), number, (Function|null)=): undefined, PredefinedEffect: function (new:goog.fx.dom.PredefinedEffect, (Element|null), (Array<number>|null), (Array<number>|null), number, (Function|null)=): undefined, Resize: function (new:goog.fx.dom.Resize, (Element|null), (Array<number>|null), (Array<number>|null), number, (Function|null)=): undefined, ResizeHeight: function (new:goog.fx.dom.ResizeHeight, (Element|null), number, number, number, (Function|null)=): undefined, ...}}}

from clutz.

rkirov avatar rkirov commented on July 19, 2024

Writing down what we agreed on in person - the presence of goog.provide('goog.fx.Animation') signals that goog.fx is a namespace thus omit it from the set of desirableSymbols for goog.

from clutz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.