#1256 Allow to use PascalCase import variables

Avoinna
3 vuotta sitten avasi herby · 0 kommenttia

If you try, eg:

Package
	named: 'Foo-Bar'
	imports: {'EventEmitter' -> 'events'}
	transport: (AmdPackageTransport namespace: 'foo')

in your node-based project, you actually fail when trying to EventEmitter new in that package, as PascalCase variables only point to Smalltalk and JS globals and do not include "package-wise" globals, that is, import variables.

If you try, eg: ``` Package named: 'Foo-Bar' imports: {'EventEmitter' -> 'events'} transport: (AmdPackageTransport namespace: 'foo') ``` in your node-based project, you actually fail when trying to `EventEmitter new` in that package, as PascalCase variables only point to Smalltalk and JS globals and do not include "package-wise" globals, that is, import variables.
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei tunnistetta
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.