Giter VIP home page Giter VIP logo

Comments (6)

johnsoftek avatar johnsoftek commented on August 17, 2024

@guybedford Using jspm 0.16.1, System.normalize('jade-compiler/lib/runtime', module.id ); now returns undefined.

Even System.normalize('jade-compiler', module.id ); returns undefined.

require('jade-compiler') works.

from plugin-jade.

johnsoftek avatar johnsoftek commented on August 17, 2024

Also fails under 0.16.0.

from plugin-jade.

guybedford avatar guybedford commented on August 17, 2024

@johnsoftek this is actually the SystemJS CJS require detection breaking down on file:/// URLs as it thinks its a comment in the require statement. I've just added a fix for this in SystemJS at systemjs/systemjs@4717d58 which makes this work again. Patch should come today or tomorrow.

from plugin-jade.

johnsoftek avatar johnsoftek commented on August 17, 2024

@guybedford Thanks. I'll test when the patch is ready.

Sent from my phone
On 26 Aug 2015 1:21 am, "Guy Bedford" [email protected] wrote:

@johnsoftek https://github.com/johnsoftek this is actually the SystemJS
CJS require detection breaking down on file:/// URLs as it thinks its a
comment in the require statement. I've just added a fix for this in
SystemJS at systemjs/systemjs@4717d58
systemjs/systemjs@4717d58
which makes this work again. Patch should come today or tomorrow.


Reply to this email directly or view it on GitHub
#9 (comment)
.

from plugin-jade.

guybedford avatar guybedford commented on August 17, 2024

I've posted the SystemJS update. This should now work if you update jspm.

from plugin-jade.

panicbit avatar panicbit commented on August 17, 2024

@guybedford Awesome, it works!

from plugin-jade.

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.