Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore requirejs load timeout errors - they will finally load + fix t…

…he complete_util deprecated method
  • Loading branch information...
commit 2a69ddf3627f1e498aaee53bba832297877c481c 1 parent 06430b0
@mostafaeweda mostafaeweda authored
View
2  plugins-client/ext.codecomplete/complete_util.js
@@ -75,7 +75,7 @@ function fetchText(staticPrefix, path) {
/** @deprecated Use retrievePrecedingIdentifier */
exports.retrievePreceedingIdentifier = function() {
console.error("Deprecated: 'retrievePreceedingIdentifier' - use 'retrievePrecedingIdentifier' instead");
- retrievePrecedingIdentifier.apply(this, arguments);
+ return retrievePrecedingIdentifier.apply(null, arguments);
};
exports.retrievePrecedingIdentifier = retrievePrecedingIdentifier;
exports.retrieveFollowingIdentifier = retrieveFollowingIdentifier;
View
2  plugins-server/cloud9.core/view/ide.tmpl.html
@@ -113,6 +113,8 @@
};
window.onerror = function(m, u, l) {
+ if (m.match(/Load timeout for modules:/) || m.match(/Script error/))
+ return;
clearSplash();
};
Please sign in to comment.
Something went wrong with that request. Please try again.