Skip to content

Cleanup mixin tests - #205

Merged
raymondfeng merged 1 commit into
loopbackio:masterfrom
fabien:feature/plugins
Aug 15, 2014
Merged

Cleanup mixin tests#205
raymondfeng merged 1 commit into
loopbackio:masterfrom
fabien:feature/plugins

Conversation

@fabien

@fabien fabien commented Aug 9, 2014

Copy link
Copy Markdown
Contributor

Added test case for LDL defined options.

@fabien

fabien commented Aug 9, 2014

Copy link
Copy Markdown
Contributor Author

@raymondfeng shouldn't we normalize mixin names? So we can access mixins like:

TimeStamps, time-stamps, timestamps?

Comment thread test/mixins.test.js

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Demo: { value: true } would make the intention more clear. L52 will become easier to understand too:

Model.demoMixin = options.value

@bajtos

bajtos commented Aug 14, 2014

Copy link
Copy Markdown
Member

shouldn't we normalize mixin names? So we can access mixins like: TimeStamps, time-stamps, timestamps?

Could you please open a new issue to discuss that idea?

raymondfeng added a commit that referenced this pull request Aug 15, 2014
@raymondfeng
raymondfeng merged commit 6cd2cbc into loopbackio:master Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants