Skip to content

Relative paths in 'require' statement #17

@wied03

Description

@wied03

Once opal/opal#1286 is addressed, need to figure out how to deal with this. Not require_relative but require.

Ideally, we use only the current directory to resolve paths with a leading dot, which is how MRI seems to behave, then we strip that out when the Opal.module is declared with Opal.modules['something'] and instead of Opal.modules['./something']

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions