#1256 Allow to use PascalCase import variables

Открыто
3 лет назад открыта herby · комментариев: 0
Herby Vojčík прокомментировал 3 лет назад

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.
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.