canjs / can-compile

Compile CanJS Mustache and EJS views for lightning fast production apps
http://daffl.github.com/can-compile
MIT License
35 stars 15 forks source link

Drop dependency on JSDom - installation issues on all platforms #43

Closed DesignByOnyx closed 8 years ago

DesignByOnyx commented 9 years ago

JSDom relies on contextify, which has been known to have issues with node-gyp on all platforms: Windows, OSX, and Linux. can.view relies on a very small subset of the DOM api - something like can-simple-dom should be used instead.

daffl commented 9 years ago

I don't think it does anymore in its latest version but it is only compatible with Node >= 4 and io.js but can-simple-dom would be a much leaner and faster solution (and might also give us the ability to use can-compile as a RequireJS plugin which only allows synchronous view compilation).

DesignByOnyx commented 8 years ago

This was fixed by #45