Comments (8)
what is your browser? what precisely is the complaint?
from beaqlejs.
Yes, please give more details if you intersted in a solution. If the demo page works in your browser there is probably a syntax error in your configuration file.
from beaqlejs.
Have look at the abx, mushra, and preference config:
{ "Name": "Castanets", "TestID": "id2", "Files": { "A": "audio/castanets_ref.wav", "B": "audio/castanets_2.wav", } }, ] }
The last coma leads to errors in Firefox.
from beaqlejs.
I would further suggest to define the config files as JSON, instead of putting a singe JS variable in such a file.
In the index.html the JS code can be easily changed.
window.onload = function () {
$.ajax({
url: '/config/ab-experiment-config.json', // change your config file here
type: 'GET',
dataType: 'json',
success: function (data) {
//testHandle = new MushraTest(data); // <-- MUSHRA test class
testHandle = new AbxTest(data); // <-- ABX test class
$('#Footer').prepend(testHandle.browserFeatureString() + '<br/>'); // still a bad coding practice here
},
error: function (err) {
console.error(err);
}
});
};
from beaqlejs.
from beaqlejs.
The last coma leads to errors in Firefox.
I agree that this comma is not required, but I do neither get any warnings nor errors in the Firefox web console window. I have just verified this with Firefox 60.5 ESR from my Debian system.
from beaqlejs.
I expected that a web-based app would run on a remote or local web server.
The things with the comma might be more a matter of coding standards. However, I was not able to run the app because of this bugs.
from beaqlejs.
can we close this then as there's no bug and possibly move the discussion about requiring a web server (which, at the same time would simplify the JS) into a different bug/feature request/issue?
from beaqlejs.
Related Issues (14)
- We are sorry, but the following error occured during your submission: 200
- Strange audio artifacts on Chrome HOT 2
- mushra test won't display reference correctly.
- Mushra default rate setting HOT 1
- Mushra Hidden Ref, how to delete? HOT 2
- Make setup easier
- reference Audio can not be defined for abx-tests HOT 3
- submission of the results not possible HOT 10
- refactoring beaqle.js HOT 3
- InvalidStateError after refreshing the page a second time HOT 1
- AudioContext cannot be created without first registering a user action on the page HOT 3
- PreferenceTest can't randomize AB choice HOT 2
- Playback issue on Chrome, suspended audioContext
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beaqlejs.