Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Зависимости модуля проверяются, даже если сам модуль не используется #24

@twoRoger

Description

@twoRoger

Следующий пример кидает ошибку "Uncaught Error: Module "b": can't resolve dependence "x" ".

modules.define('a', function(provide) { provide('a'); });
modules.define('b', ['x'], function(provide, x) { provide('b'); });
modules.require(['a'], function() {});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions