"lib": "src-noconflict"

Some modules rely on `ace.require`, which seems to have its own internal locate/fetch algorithm and doesn't match `cjs`'s `require`.  For example, `ace.require('ace/ext/themelist').themesByName` seems to fetch the file `ace/ext-themelist`, and one might think the equivalent `cjs` line would be `require('ace/ext-themelist').themesByName`, but by that method, `themesByName` is `undefined`.  And even after determining the equivalent `cjs` statement, there will likely be at least a dozen or more others like it, so it's easiest to just use the `noconflict` version.
This commit is contained in:
Tim Burgess
2015-06-17 09:43:15 -04:00
parent 93a5f4dcfe
commit 8f09105301
@@ -2,7 +2,7 @@
"main": "ace", "main": "ace",
"format": "global", "format": "global",
"directories": { "directories": {
"lib": "src" "lib": "src-noconflict"
}, },
"shim": { "shim": {
"ace": { "ace": {