Hello ,
I’m not so sure in English , because I’m German.
I want to try to declare you my problem.
The functionality of my first Mod-Script I 've programmed, was great.
After that I’ve started a new Script.
Download my Mod
GDT gave me the error message that one var is not declared and one other.
I’ve programmed it like the example in the mod-api folder.
Can someone help me?
Greetings from Germany !
You need to tell us what line is giving you an error. Refer to the online documentation to know how to load the node-webkit browser console and check where the error actually occcurs. This might be enough for you to fix your errors!
Thank you.
I’ve start the toolbar (i hope it was what you mean) and i didn’t have any idea what’s wrong.
In line 13 I’ve put and delet the ‘;’ and it said the same.
1st Error
2nd Error
I understand some JS but here it can’T help me a lot.
I hope you’re not frustrated with me
Greetings
Your first error comes from the 2nd error, and the second one is because you have a missing ) at the end.
Your code should look like this:
(function(){
...
})();
You only put }(); so your first parenthesis is not ended and crashes that file. If that file is crashing, it is not included and executed and thus, all the code in it such as
var myGames = {};
Is not executed…
Suggestion, use GitHub, it’s easier for someone like me to just fork your project, fix it and issue a pull request…
Thank you.
You must think I’m stupid and you have right.
If you allow i’ll take your name into the Credit.
So much Thanks
Go ahead, my name is Mathieu Dumoulin aka CrazyCodr
1 Like