ajaxorg/cloud9 — Issue #736: requirejs define errors breaking UI in beta/dev versions of FF & Chrome
Author: yozlet
Created: 2011-12-23 00:02:03+00:00
State: open

I'm using Chrome dev channel (17.0.963.12) and FF 9.0 (beta channel). Both of these browsers generate different JS fatals on initial render which leaves the UI unusable. Note that release Safari seems to be working fine.

On Chrome, the UI doesn't finish painting. Here's what I see in the JS console:
```
Uncaught Error: Error evaluating module "ext/watcher/watcher" at location "/static/ext/watcher/watcher.js":
ReferenceError: trFiles is not defined
fileName:undefined
lineNumber: undefined
http://requirejs.org/docs/errors.html#defineerror

require.js:1525Uncaught Error: Error evaluating module "ext/debugger/debugger" at location "/static/ext/debugger/debugger.js":
TypeError: Cannot read property 'localName' of undefined
fileName:undefined
lineNumber: undefined
http://requirejs.org/docs/errors.html#defineerror
```

On Firefox, the UI mostly finishes painting (apart from tabs) but nothing's clickable. Here's the console output:
```
Error evaluating module "ext/noderunner/noderunner" at location "/static/ext/noderunner/noderunner.js": TypeError: els['@default'] is not a constructor fileName:http://127.0.0.1:3000/static/js/apf_release.js lineNumber: 1723 http://requirejs.org/docs/errors.html#defineerror
```