Skip to content

Split code into multiple modules #14

@joefiorini

Description

@joefiorini

Currently the entire plugin is in one large file, but it would be easier to maintain and for potential contributors to wrap their heads around if it was split into many small modules. I'm currently thinking something like:

bacon.jquery.coffee Re-export public API on `Bacon.$` namespace & monkey-patches Bacon.Observable with ajax
elements/* One module for each element that has a value function (eg. check-box.js exports checkBoxValue)
ajax.coffee Exports ajax functions
events.coffee Exports jQuery event wrappers

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