зеркало из https://github.com/mozilla/pjs.git
having evicted default.js from components/, we reclaim our *.js birthright
This commit is contained in:
Родитель
3bf9bb6905
Коммит
46a740bd69
|
@ -387,7 +387,7 @@ mozJSComponentLoader::AutoRegisterComponent(PRInt32 when,
|
||||||
if (!registered)
|
if (!registered)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
|
|
||||||
const char jsExtension[] = ".cjs";
|
const char jsExtension[] = ".js";
|
||||||
int jsExtensionLen = 4;
|
int jsExtensionLen = 4;
|
||||||
char *nativePath = nsnull, *leafName = nsnull, *registryLocation = nsnull;
|
char *nativePath = nsnull, *leafName = nsnull, *registryLocation = nsnull;
|
||||||
nsIModule *module;
|
nsIModule *module;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче