-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is an error in EventDance library, specifically in the browser-side
Web transport script. The issue was fixed already in 0.21 but is not yet
release:
https://github.com/elima/EventDance/commit/9232a4cbaf4653b36a1e04756cace93e65e38d13.

If you want to fix it locally, edit
/usr/share/evd-0.1/js/evdWebTransport.js and remove or comment the
following lines at the end of the file:


if (this["define"] !== undefined) {
    if (this["exports"] === undefined)
        var exports = {};

    exports.Object = Evd.Object;
    exports.WebTransport = Evd.WebTransport;
    exports.Peer = Evd.Peer;

    define (exports);
}


That piece of code was introduced to allow Evd JS scripts to work well
both as a normal page script and as an asynchronous module to be loaded
by require.js. But the detection turned out to be buggy and was removed.
This pattern will be retaken in EventDance 0.2, which will enforce
asynchronous module loading on all JS libs.

Thanks Michael for reporting and Berto for adding me to the loop. Feel
free to ping me for any further issue.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+6FIsACgkQ0RgjHbY/7rUS5ACgtCXMkciTv3UL4zMv3UH2uiBu
lOYAoIy0gYCoi+kpVz1Fpw6Pjj+XNMcg
=8wZ8
-----END PGP SIGNATURE-----

Reply via email to