Giter VIP home page Giter VIP logo

Comments (5)

unscriptable avatar unscriptable commented on May 26, 2024

There's definitely room for more than one css! plugin in the world. I may as well write it since it's a small subset of what we already have. :)

I need to think a bit about how to name the two plugins so that they make sense to me and to devs. Since only one can have the plugin module name, "css", the other one will have to be aliased to "css" via the curl config or have a meaningful name like "simplecss" (too long?) or "link" (ambiguous?). Or else it could have a namespaced module id such as "curl/light/css" or "curl/advanced/css"...

from curl.

asilvas avatar asilvas commented on May 26, 2024

Actually "link" would be perfect, as it is very specific in its purpose. Not as functional as "css".

from curl.

unscriptable avatar unscriptable commented on May 26, 2024

link! plugin in dev branch. Let me know if this is what you're looking for. This plugin has no features: all it does is create elements! :)

I did very minimal testing, just for evaluation... Feedback welcome.

from curl.

asilvas avatar asilvas commented on May 26, 2024

Verified working. I also want to add, the design of your curl api is quite impressive, especially with how extensible it is while remaining fairly compact. Having written several dozens of client plugins/scripts myself, your work is impressive.

from curl.

unscriptable avatar unscriptable commented on May 26, 2024

Thanks for the kudos! For the compactness, I can take credit. :) However, the plugin design is an extension to work that @kriszyp and @jamesrburke did.

In regards to compactness, thanks for reminding me. I like to sift through the code and find opportunities to both simplify and reduce code on a regular basis. There's definitely a few hundred bytes of kruft that's gotten in there. Time for another workout to shed unsightly bytes. :)

from curl.

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.