Git Product home page Git Product logo

Comments (2)

jackdoyle avatar jackdoyle commented on August 15, 2024

It sounds like you're using the minified version. Have you tried using the regular (uncompressed) one while you're debugging? I'm not sure it'd be worth the extra kb to add method.name = (...) to the various classes, especially since it's an ECMAScript 6 specific thing. Perhaps I'm misunderstanding your suggestion though.

from gsap.

tombigel avatar tombigel commented on August 15, 2024

Look at the mdn link, they explain how to set names for functions and I'm sure you can instruct minifiers not to change the names. All I want is to see the right name in the console even using the minified version. 

Btw, the name property is supported by everyone but ie. 

Sent from Mailbox

On Mon, Jun 30, 2014 at 9:36 PM, jackdoyle [email protected]
wrote:

It sounds like you're using the minified version. Have you tried using the regular (uncompressed) one while you're debugging? I'm not sure it'd be worth the extra kb to add method.name = (...) to the various classes, especially since it's an ECMAScript 6 specific thing. Perhaps I'm misunderstanding your suggestion though.

Reply to this email directly or view it on GitHub:
#52 (comment)

from gsap.

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.