Commit Graph
4 Commits
Author SHA1 Message Date
guybedford 84fd6debc5 add a self-mapping for ace 2016-04-11 21:10:40 +02:00
Damien Lebrun 4626b8ab7a Add to “deps” ace editor components
Allows to import language components ahead of time, to include them in bundles:
```
import ace from 'ace';
import 'ace/mode-javascript.js';
import 'ace/theme-twilight.js';
```

It doesn’t solves the issue with workers components however.
2016-03-13 14:37:35 +00:00
Tim Burgess 8f09105301 "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.
2015-06-17 09:43:15 -04:00
guybedford 44e9d4a2f5 add ace 2014-08-23 19:59:34 -07:00