Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing single argument to dush() #3

Closed
tunnckoCore opened this issue Mar 11, 2017 · 1 comment
Closed

Allow passing single argument to dush() #3

tunnckoCore opened this issue Mar 11, 2017 · 1 comment

Comments

@tunnckoCore
Copy link
Member

Which will be used to extend the returned object. Inheritance.

For example

var app = dush({
  foo: 'bar'
})

console.log(app.foo) // => 'bar'
console.log(app.on) // => function
@tunnckoCore
Copy link
Member Author

Actually, "plugins" would fix this too. And will allow for more customization, for example wrapper for dom usage.

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

No branches or pull requests

1 participant