Commit Graph

5 Commits

Author SHA1 Message Date
Colin Eberhardt
5653e4ef82 Fixed build and added distribution files to the repo 2015-08-11 21:22:27 +01:00
Colin Eberhardt
3b406b30c2 Module pattern is now implemented via templating
Previously two modules were defined, Layout.js, which is the internal implementation, and main.js, which depended on Layout.js and performed the fill / extract functionality required for a public JavaScript API.

This simplifies the implementation by just exposing a single UMD module by directly including Layout.js within the module wrapper.

Fixes #103
2015-08-11 17:42:59 +01:00
Colin Eberhardt
401f473449 Added eslint to the build
Fixes #102
2015-08-11 16:52:57 +01:00
Colin Eberhardt
74925f4439 Added karma testing to the gruntfile 2015-08-11 14:42:21 +01:00
Colin Eberhardt
ffa64f6fd3 Added a grunt build
This copies Layout.js to a dist folder, minifies and source-maps.
2015-08-11 13:49:52 +01:00