Code Monkey home page Code Monkey logo

atom-css-from-html's People

Contributors

kakrostropovich avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atom-css-from-html's Issues

jsx module css

Было бы неплохо, если бы из .jsx файлов мы могли бы получить из
className={b.element} =>
.element{}

<div className={styles.content}>
          <h1 className={styles.header}>
            {count - questions.length}/{count}.
            {' '}
            {currentQuestion.name}
          </h1>

          <div className={styles.result}>
            {this.renderCurrentIcon()}
            {this.renderCurrentDescription()}
          </div>

          <div className={answersStyles}>
            <div key={1} className={styles.description} dangerouslySetInnerHTML={marked(currentQuestion.text)}/>
            <div className={styles.answers__wrap}>
              {this.renderAnswers(currentQuestion)}
            </div>
          </div>

        </div>
</div>

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Pro
Thrown From: css-from-html package 0.1.5

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

At C:\Users\Lenovo\.atom\packages\css-from-html\lib\css-from-html.coffee:37

TypeError: Cannot read property 'getSelectedText' of undefined
    at Object.start (/packages/css-from-html/lib/css-from-html.coffee:37:27)
    at /packages/css-from-html/lib/css-from-html.coffee:15:87)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:350017)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:671034)
    at EventEmitter.t (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:678418)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -0:23.9.0 css-from-html:start (atom-pane.pane.active)

Non-Core Packages

css-from-html 0.1.5 
css-snippets 1.1.0 
html-tag-auto-complete 0.1.1 
html-to-css 0.2.2 

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.