-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cannot reset the forfeit of a parent match #129
Comments
I fetched the latest version with includes this fix, and use npm with webpack to build the js file. I review the whole generated js, but weird that it was generated twice with different version.
While I try to reset the match result (match with child match game), it hits the error as the Part 2 (image) and gets the error:
I searched the error message in the GitHub repository only and come out this result
I tried to uninstall and install again, but still encounter the same issue as above. I think this "issue" doesn't come from the library but would like to ask to have any clue about it? |
Okay, after a few time trial & error, I realize that the Part 2 is from bracket-viewer.js You can search this sentence:
from the file link above. As I import both libraries in a JS file, so both functions conflicted.
|
I'm not sure about it, but it may be because I don't know if:
Could you investigate a bit about this? |
Oh nice! Thanks. I'll update this file, it's weird that it didn't get updated already. |
Okay thanks for the update. Anyway would like to ask is it safe to use
without alias? Or I should enforce the practice to import library as alias? But import with alias look like not working as below First way:
Second way:
|
Yes it's safe to use without alias and that's actually the only thing you can do until Drarig29/brackets-viewer.js#27 is fixed. |
By the way, why do you use It is accessible via the window object: |
Linked to: #128 (comment)
If we set a forfeit for a parent match directly (not for its child games), for example because we know an opponent forfeited before the beginning of the parent match, we can't reset the parent match results with
manager.reset.matchResults()
.We get this error:
The text was updated successfully, but these errors were encountered: