GithubHelp home page GithubHelp logo

Comments (5)

DennisBB avatar DennisBB commented on May 28, 2024

yes, please have it fixed.

plus coffeescript compiler doesn't support XHTML's inside of <script type="text/coffeescript"></script>

It can be rewritten this way, when it will work

<script type="text/coffeescript">
# <![CDATA[
coffee_script_code
# ]]>
</script>

But, again I think it should work without comments too, like this

<script type="text/coffeescript">
<![CDATA[
coffee_script_code
]]>
</script>

from coffee-script-tmbundle.

jashkenas avatar jashkenas commented on May 28, 2024

Does this have anything to do with the coffee-script textmate bundle, or is this something to change in the HTML bundle?

from coffee-script-tmbundle.

DennisBB avatar DennisBB commented on May 28, 2024

Yea, my bad. I'll move it to the right place.

from coffee-script-tmbundle.

rromanchuk avatar rromanchuk commented on May 28, 2024

+1

from coffee-script-tmbundle.

mads-hartmann avatar mads-hartmann commented on May 28, 2024

Well, with TextMate2 you can define injections in your bundle and it would be appropriate to have Coffeescript inject itself into script tags with the proper type.

However, TextMate 2 is still in alpha so it's probably not that urgent ;)

/Mads

from coffee-script-tmbundle.

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.