Git Product home page Git Product logo

Comments (7)

evancz avatar evancz commented on July 19, 2024

Hey, I just asked the mailing list to help with this review, so I hope they will take a first pass while I am traveling! In the meantime, I'd let folks know about the library on the list so people can use it via github.

from package.elm-lang.org.

zimbatm avatar zimbatm commented on July 19, 2024

👍

from package.elm-lang.org.

Apanatshka avatar Apanatshka commented on July 19, 2024

Hello @zimbatm, I'll be your community reviewer today. Here are my suggestions:

  1. Don't depend directly on the animation frame in JavaScript. Instead offer a Gamepad.poll : Signal a -> Signal (List Gamepad) and suggest the use of getAnimationFrame in the documentation. You may want to reference the Elm package animation-frame, which exposes the animation frame as a signal.
  2. Please add some documentation. It doesn't have to be much, but just a few words per type/function, and a small example inside the documentation to help people on their way.
    Add the comments you have in your JS file about enabling the gamepad in the browser!
  3. Consider making the rounding of values user-controlled.
  4. If you can think of any convenience functions, that would be useful. But a small, clear library like this is also great.

Note that A2 just applies a function from Elm that takes two arguments. It handles whether the function is curried or not.

@evancz LGTM. No crazy things happening in the JavaScript. API and documentation could use some tinkering, I've given my opinion on the matter. The API might benefit from an RFC on the mailing list, though perhaps that's overkill for such a small library.

from package.elm-lang.org.

laszlopandy avatar laszlopandy commented on July 19, 2024

Has this library been updated for Elm 0.15.1?

from package.elm-lang.org.

zimbatm avatar zimbatm commented on July 19, 2024

I've meant to incorporate Jeff's comments and update the lib but didn't get
around to do it. Maybe next Monday actually.

On Thu, 27 Aug 2015 at 08:46 Laszlo Pandy [email protected] wrote:

Has this library been updated for Elm 0.15.1?


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

from package.elm-lang.org.

Apanatshka avatar Apanatshka commented on July 19, 2024

The native review pipeline is stalled. That's probably not news to you, but I wanted to leave a note on all the open reviews. I cannot speak for everyone, but as one of the reviewers I just want to speak up and say that I will not be doing more reviews. The warning about publishing native packages has changed, and Evan has mentioned multiple times in different places that one of his priorities for 0.17 is improving this process. So I'm going to wait for that. I'm sorry we cannot move forward with publishing your library, but my experience is that even if we review and approve it, it will become stuck waiting for Evan to whitelist it.

from package.elm-lang.org.

evancz avatar evancz commented on July 19, 2024

Sorry to keep this in limbo for so long. I am moving towards the plan outlined here and discussed a bit further in the 0.17 announcement. The right thing to for now is use ports or get advice on the mailing list or on slack.

from package.elm-lang.org.

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.