Skip to content

Can't call prototype method of a mixin #2243

@slorber

Description

@slorber

I have a "mixin factory" creating mixins with many helper methods that vary in a single attribute, so I wanted to create a mixin with prototype to save some memory, but it seems I can't call prototypal methods.

Check this sample:
http://jsfiddle.net/smmyxz2s/1/

with <div>Hello {this.blabla}</div>; it returns the appropriate result but not with <div>Hello {this.getBlabla()}</div>;

Is it possible to implement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions