From 8f09105301902a5c42969773af64ba261b0db36d Mon Sep 17 00:00:00 2001 From: Tim Burgess Date: Wed, 17 Jun 2015 09:43:15 -0400 Subject: [PATCH] "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. --- package-overrides/github/ajaxorg/ace-builds@1.1.6.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-overrides/github/ajaxorg/ace-builds@1.1.6.json b/package-overrides/github/ajaxorg/ace-builds@1.1.6.json index 2ab03db..2dde398 100644 --- a/package-overrides/github/ajaxorg/ace-builds@1.1.6.json +++ b/package-overrides/github/ajaxorg/ace-builds@1.1.6.json @@ -2,11 +2,11 @@ "main": "ace", "format": "global", "directories": { - "lib": "src" + "lib": "src-noconflict" }, "shim": { "ace": { "exports": "ace" } } -} \ No newline at end of file +}