webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

This not an AMD module #100

Open Flimm opened 9 years ago

Flimm commented 9 years ago

It would help a lot if this library was an AMD module. Then I could use requirejs like this:

requirejs(["editablegrid", function(EditableGrid) {
    // my code here
});

And it would work out my dependencies for me.

You can still have it export a global normally if RequireJS isn't being used by using a pattern like this one.