diff --git a/plugins/c9.vfs.standalone/www/test.html b/plugins/c9.vfs.standalone/www/test.html index 11d99d24..a3927244 100644 --- a/plugins/c9.vfs.standalone/www/test.html +++ b/plugins/c9.vfs.standalone/www/test.html @@ -363,7 +363,9 @@ if (require == requirejs) { require = function(a, b, c) { if (!c && Array.isArray(a)) - c = function(err) { lastDone(err.message); }; + c = function(err) { + lastDone && lastDone(err.message); + }; return requirejs(a, b, c); }; Object.keys(requirejs).forEach(function(x) {