parallax / ddt

DDT (Drag and Drop Tables) is a library that adds drag and drop reordering support to HTML tables.
MIT License
5 stars 0 forks source link

Separate DDT into separate modules #30

Open nathggns opened 10 years ago

nathggns commented 10 years ago

DDT has lots of distinct parts that could probably be separated and then dependency injected.

The following identifiers can be moved into their own module

The current setbacks for this is that as we are using RequireJS as our TypeScript module output, there doesn't seem to be a nice way to concat all our modules into one module in one file. (We only want to export one module). If we don't concat, we run into issues were the user has to define paths for every internal module which isn't nice at all.

ACE editor seems to have gotten around this issue somehow but I'm not sure how.

nathggns commented 10 years ago

Changing this to Post Release so we can get the release out sooner.

The only issue with doing this post release is that require('ddt') needs to return the same object even after we split it otherwise it'll be a breaking API change.