-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for issue #22, updated Babel and ESLint to latest (test script was failing after cloning fresh repo) #43
Conversation
…from parent configs
…to latest resolved the issue)
…tests; modify babel runtime config (add transform plugin)
Nice work Jeff ! If this breaks projects using it, we should either
|
Mentioning #22 so that it gets linked. |
Cool, sounds like a plan! Let me know if there's anything I can do to help. |
@barrystaes I concur there should be a v1.0.0 before getting these breaking changes in. Can you email me at agraboso@gmail.com so we can arrange for me to give you access to the @jtribble I see you've published your fork to |
@agraboso - The only reason I published the fork on |
@jtribble No worries: I completely understand. I'm glad you're using |
@agraboso - It's a sweet tool, I love it! Contributing is fun too. Just unpublished my forked |
I guess in while the final 1.0.0 release gets formulated, we could make a npm prerelease for testing by @jtribble and me. I was pondering to make a branch |
can't wait for the new release. Now my project can not run on ie browsers, this give me a lot of headache. |
v1.0.0 is now published on @barrystaes: there was a test that failed in my machine because I had Apache running and the test isn't mocking the appropriate endpoint — it succeeded once I turned Apache off. It is the test entitled const api = nock('http://127.0.0.1')
.get('/api/users/1')
.reply(404); at the beginning of the test and it kept failing, but succeeded if I switched |
My apologies for closing this by mistake. I meant to post in #45. |
@jtribble after i change to your fork version, the ie brower 11 not working, the CALL_API issue was solve, but got another problem, plz see the below attachment: @agraboso @barrystaes plz advice how to solve it. |
@jcs12311 - Could you post a screenshot of the error message you're seeing? |
@jtribble im sorry... i have not got any error on IE developer tool, just alert trigger fail. |
@jcs12311 - Hmm.. So when you run your code in IE11, you get a "fail" alert message, but you get "req" or "suc" when running in other browsers? You could try changing your failure RSAA to look something like this, and see what the values of the params are: {
type: CONSTANTS.NEWS_FAILURE,
payload: (action, state, res) => {
console.log('action', action);
console.log('state', state);
console.log('res', res);
}
} |
@jtribble Sorry for my explaination, the issue on IE 11 is CONSTANTS.NEWS_REQUEST's payload was be called, CONSTANTS.NEWS_SUCCESS and CONSTANTS.NEWS_FAILURE payload were never called. |
I found the problem is IE didn't support Promise, i install es6-promise, the problem solved. |
@jcs12311 Thanks for the clarification. @jtribble can you retarget the PR to the next branch for v2.0.0-beta? If not i'll happily merge it myself, but GitHub wont understand what happened to this PR. Not sure if thats a problem tho.. |
@barrystaes - Sure thing, I opened a new PR and targeted it at the next branch: #52 I think we can close this PR once #52 is good to go. |
Ok thanks. |
After cloning the repo, I ran into a failure when running the test script. It seemed to be an issue with the environment somehow, not with a test failing, so I performed the following changes:
After I had all the tests passing and verified that stuff was working, I performed the following changes:
Let me know if this works! Not sure how this would be versioned, since it's a breaking change.