thani-sh / meteor-iced Goto Github PK
View Code? Open in Web Editor NEWIced Coffee Script compiler for Meteor
Iced Coffee Script compiler for Meteor
In short: I believe there's a postprocess that needs to happen after IcedCoffeeScript compilation that's not happening with this module.
Long:
Meteor 1.5 added dynamic imports via an import function. I've used it without trouble in Meteor/CoffeeScript using backticks:
import = ->
`import('jszip')`.then (jszip) ->
console.log jszip
I thought I'd be able to do this with Meteor/IcedCoffeeScript:
importLaTeX = ->
await `import('jszip')`.then defer jszip
console.log jszip
But then Meteor crashes with the message SyntaxError: Unexpected reserved word
in .meteor\local\build\programs\server\app\app.js
on a line of the form import('jszip').then(__iced_deferrals.defer({
. By contrast, if I put the compiled code from app.js
into a .js
file, then Meteor is fine with it. So there's something (ECMAscript compilation?) that's happening with .js
files that's not happening with .iced
files. Hopefully there is an easy fix?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.