Code Monkey home page Code Monkey logo

Comments (4)

DanTup avatar DanTup commented on June 26, 2024

@kenzieschmoll is it ok to send both? That would avoid me needing to do any version checks, I could just always include &embed=true&embedMode=one.

from dart-code.

DanTup avatar DanTup commented on June 26, 2024

I've pushed a change assuming this is fine (I review the code in the DevTools PR and it seems to only check the old value if the new one isn't present). If you think there will be any issue doing this, let me know and I can revise.

from dart-code.

kenzieschmoll avatar kenzieschmoll commented on June 26, 2024

This should be fine. For cleanup purposes, can we remove the legacy flag in a year or two?

from dart-code.

DanTup avatar DanTup commented on June 26, 2024

Generally I try to keep Dart-Code compatible with as many old SDKs as possible so rather than just delete it, I've added in a version check so we'll stop sending embed=true from Dart SDK 3.7.0-0 (and for anything earlier, we just send both... so I don't need to set an exact version that matches the changeover).

from dart-code.

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.