Conversation
|
Will look over this one last time tomorrow. |
There was a problem hiding this comment.
Why did you remove "in addition to desktop and mobile browsers"?
|
Ouch, I'm getting a lot of test failures with this, in both the existing tests and the new ones. :( Have you run the tests on your computer and pass for you? I have a feeling it is caused by alphabetizing the |
|
Oh no. 😞 |
|
@bhamodi Sorry for the late reply, I was slammed by finals and the semester ending. I assume you are running Windows, but if you are not, @gabceb will have to fill you in on the steps required.
That command also minifies the script and copies it from |
|
@le717 - Thanks for the steps! (Also I hope your finals went well 😄). So I just set up my local environment and was able to test locally. All tests passed without any errors. I guess you were getting lots of errors because I didn't run the tests locally and include the minified js files. This PR should be good to go now! 👍 |
|
What OS are you running? I'm curious as to why they passed on your Windows machine but not mine (Windows 8). P.S. I'm sure it was not the lack of the files in your newest commit. Those are automatically generated when the tests are run. |
|
Windows 7, 64 bit. |
|
BTW, the steps you outlined above to run tests didn't work for me 100%. Can you try to update your casperjs, phantomjs and grunt-cli and then retest? |
|
I will as soon as I can. I had to redo my laptop, but it is taking longer than expected. I plan is to merge this then tag a v0.0.7 release because of all the changes. My finals went well, thank you. :) |
|
Sounds good. :) |
|
I just ran those commands, and it is still failing, and I think I know why. It's because of the alphabetized So those two parts are going to need reverted back to you initially added them in bhamodi@37eb49f (the ordering and new additions, that is, not reverting the previous changes). Also, if you remove, please remove the minified and test/src files, as those will be generated upon release. :) |
|
Oh... interesting. Not sure why mine keeps passing haha. I'll go ahead and fix that now. |
|
*sigh* OK, the issues go deeper than I first thought. I have cherry-picked your commit and added the fixes over on |
|
Superseded by #52. |
This PR updates browser detection to support iPod, Kindle and BlackBerry devices.
This PR also includes corresponding unit tests and updates the README. 👍
@gabceb @le717