Craig Campbell

Results 88 comments of Craig Campbell

Also I had a typo before. Should be ``` html setTimeout(Rainbow.color, 1000); ```

Hi there, I'm finally working on this project again after it lied dormant for a while. Could you update this PR to be compatible with Rainbow 2.0? All you have...

I'm aware of this, but I don't think there is anything that can be done about it. It is either a limitation in OS X or in Sublime Text

Hmm this is interesting. Just running over the code quickly, it looks like it is all using indexes vs. names with regards to the switching, but I will have to...

Hi @abhagwat sorry for the delay. I just tested this and it works correctly on Mac which is what I use. Unfortunately, I do not have a way to test...

Thanks, that last one is the same issue as #1. I do not have a lot of time to devote to this project, but I would gladly accept pull requests...

The last two comments had to do with template literals. Those should be fixed. @pioz I believe your issue is still valid. Also one minor annoyance that I have to...

So this is actually already somewhat supported, but I apologize for it not being documented. You can set up wildcard routes using `ACTION` and `CONTROLLER` arguments which would look something...

Arguments do not get passed in directly to the controller methods (although they probably should). To get them you have to do: ``` php $routes = array( '/special/:ACTION/:arg1' => array('special')...

You can see some examples in the tests https://github.com/ccampbell/sonic/blob/master/tests/InputFilterTest.php https://github.com/ccampbell/sonic/blob/master/tests/RouterTest.php