Coder Social home page Coder Social logo

Comments (4)

zackbloom avatar zackbloom commented on August 25, 2024

Makes sense to me, it will also be necessary to add the ability to pass that prefix into the javascript, so it can reference the classes appropriately.

from messenger.

mrchess avatar mrchess commented on August 25, 2024

I guess .messenger is really the prefix already by design. I ended up replacing all messenger in the CSS into a $prefix, and for JS I added a baseCSSPrefix global which has the same prefix the swapped out messenger with #{baseCSSPrefix} in the templates -- similar to Ext 4s method for their Sandbox Mode. (http://dev.sencha.com/deploy/ext-4.0.0/overview/index.html)

from messenger.

zackbloom avatar zackbloom commented on August 25, 2024

PR?

from messenger.

mrchess avatar mrchess commented on August 25, 2024

I'll send one up soon. I realized I wasn't sure if it is a good idea to
merge it in since in a way it adds some overhead as you meed to type
#{prefix} all the time which can get kind of annoying in practice.

from messenger.

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.