jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 123 forks source link

Decompose client-side script into multiple files. #134

Open jwaliszko opened 7 years ago

jwaliszko commented 7 years ago

Redesign according to modern JavaScript style - use OOP best practices, e.g. module pattern, requirejs, etc? Release version should be merged into single file.

galvarez421 commented 7 years ago

I think this would be a great improvement!

Per my comment on #48, I think a UMD wrapper in particular would be helpful to make this library compatible with modern JS tools, namely module loaders/bundlers like RequireJS, Browserify, Webpack, jspm, etc. (see https://webpack.github.io/docs/comparison.html).