Posts by André N. Darcie • 145 points
3 posts
-
1
votes0
answers36
viewsQ: Include Javascript files that the test depends on to run in Mochajs
I’m developing a client-side Javascript application, and I want to run some tests using Mochajs, only that the test depends on several Javascript files to run, which are in different folders, for…
-
6
votes2
answers4741
viewsQ: How to read a JSON file without a server?
I’m developing a simple static website with html, css, and javascript hosted in Dropbox, using javascript with framework Jquery and trying to read a JSON file. var jqxhr = $.getJSON( "example.json",…
-
7
votes1
answer2073
viewsQ: How to transfer data from one javascript file to another on different pages?
I have a simple website with two HTML pages each with a linked Javascript code: Front Page: <!DOCTYPE html> <html> <body> <script src="primeiraPagina.js"></script>…
javascriptasked André N. Darcie 145