Thanks to visit codestin.com
Credit goes to github.com

Skip to content

consistent plugin api #5

@queckezz

Description

@queckezz

I think we should follow a consistent plugin api like how rework, component/model, builder.js does:

var View = ripple(tmpl)
  .use(refs())

// instead of 
  .use(refs)

that way the plugin maker can add options later on without breaking backwards compatibility. It's also a pain to find out which ones uses the first method and which ones the second, especially when you use many plugins at once. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions