maxtaco / icsify Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jtmalinowski/coffeeify
browserify v2 plugin to compile coffee-script automatically
License: Other
This project forked from jtmalinowski/coffeeify
browserify v2 plugin to compile coffee-script automatically
License: Other
Could this be updated to use ICS 1.8.0-a?
I'm trying to make it so that users of my app can use coffeescript, javascript, coco, livescript, or iced-coffee-script. Here's how I've done this: https://github.com/superjoe30/chem-cli/blob/0c50be9c910c9a601b551d35bd78825209e52aa5/index.js#L236
I enable all the "ify" filters, and then each one checks for its own file extension and does the compiling if necessary.
The problem is that both coffee-ify and icsify both try to parse .coffee
files, which results in the files being compiled twice, which does not work.
The cleanest way I see to solve this for both of our projects would be to remove the filtering for .coffee
and .litcoffee
files from icsify, and then in your project, if you want to also compile .coffee
files, add the coffee-ify filter to your toolchain.
Thoughts?
So I have my simple html file that includes
<script src="browserified/main.js"></script>
That file has been created using
browserify js/main.iced -t icsify -d -o browserified/main.js
At the first defer statement, the browser console shows: "Uncaught reference error: iced is not defined"
What should I do about it? Or should you fix something in this module?
(I read something about the --runtime inline option on the ics compiler, but I don't know - browserify n00b - how to enable that, if possible, on the icsify module).
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.