Skip to content
This repository was archived by the owner on May 2, 2019. It is now read-only.
This repository was archived by the owner on May 2, 2019. It is now read-only.

Sub-Module .set() .get() behaviour is not as expected #8

Description

@wellcaffeinated

Hi

I love Stapes, but its submodule behaviour is really getting me down. I'm pretty sure this is a bug, and I'm pretty sure I know what's causing it.

Here's the test case
http://jsfiddle.net/wellcaffeinated/4RhTq/

I expect sub-modules to store their_own values (attributes) using .set(). But this is not the case.

I think what's going on is that when module.create() is called, the instance._guid (line: 243) is defined... it's inherited, so the sub-module doesn't get its own guid.

I'm trying to use Stapes in a few projects... I'd appreciate an official fix for this soon.

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions