leaf

Results 383 comments of leaf
trafficstars

`respond_to` supports any verb: http://leafo.net/lapis/reference/actions.html#handling-http-verbs Or is this in response to the helper methods `get`, `post` etc on `Application` in the Lua API docs? Those are just convenience wrappers on...

@ahmadnassri I moved over a handful of documentation that was only available on the MoonScript into, you might want to look over http://leafo.net/lapis/reference/actions.html again to pick up anything you may...

There is no built in helper for doing that, but it should be fairly easy to write your own. `@req.headers` holds the request headers. I can write an example if...

@CriztianiX not quite, it should work as @Guard13007 intended: https://github.com/leafo/lapis/blob/master/lapis/request.moon#L76 The problem is that `views_prefix` doesn't work when specified in a sub application. It would only use the views prefix...

Ah, I see what you're saying. There currently isn't a way to do that then using `return: true`

sub applications work by copying everything into the parent application, but optionally scoping each action's name/path with the parameters provided in the layout. Before filters are applied before copying as...

yup https://github.com/leafo/lapis/blob/master/lapis/application.moon#L208

Gifine is a simple wrapper over a series of command line commands, so if you're getting an error then it's likely one of those commands is failing for some reason....

Did you choose the device from the midi device selection tool on the website? The button the top right should show the name of your device, if not then click...

I have plans to rewrite the sheet music renderer on the staff page, and one of the features I have planned for this is changing how the notes are presented...