Coder Social home page Coder Social logo

commit javascripts? about riak-js HOT 7 CLOSED

frank06 avatar frank06 commented on August 12, 2024
commit javascripts?

from riak-js.

Comments (7)

technoweenie avatar technoweenie commented on August 12, 2024

That requires users to have coffeescript to use our app. I definitely don't want that.

from riak-js.

frank06 avatar frank06 commented on August 12, 2024

If npm was the only way to get the source code that would've made more sense (coffee is not a huge dependency). But you're right that it would introduce a burden on users. Closing.

from riak-js.

technoweenie avatar technoweenie commented on August 12, 2024

Well, another thought is maybe the cs=>js conversion is part of the npm process. The git repo has no js, but npm is published with js files.

Though one other small point is the tests run against the compiled js files, IIRC. I think that approach helps to find any potential cs compilation issues.

from riak-js.

frank06 avatar frank06 commented on August 12, 2024

Oh... that's right! it could be done at publish time (we could have a simple bash script) but we would still be neglecting git cloners.

Re: the other small point, i think that won't happen. Through some mechanism (compiling to /tmp?) coffee executes your cs files in node without generating those .js files in the working directory. I believe by running a coffee file you are ensuring a successful compilation of that file and all recursively require()d ones.

from riak-js.

technoweenie avatar technoweenie commented on August 12, 2024

Ok, SOLD. Get that JS outta there.

from riak-js.

frank06 avatar frank06 commented on August 12, 2024

:)

Here's an attempt: http://github.com/frank06/riak-js/compare/no-js

from riak-js.

technoweenie avatar technoweenie commented on August 12, 2024

That looks good. The makefile is great too.

from riak-js.

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.