Fixed build and added distribution files to the repo

This commit is contained in:
Colin Eberhardt
2015-08-11 21:01:03 +01:00
parent 7f9b3afe33
commit 5653e4ef82
6 changed files with 1025 additions and 4 deletions

View File

@@ -26,9 +26,7 @@ module.exports = function(grunt) {
prefix: '// @@',
},
main: {
// Files to perform replacements and includes with
src: '<%= paths.srcFolder %>/css-layout.js',
// Destination directory to copy files to
dest: '<%= paths.distFolder %>/css-layout.js'
}
},

View File

@@ -29,8 +29,6 @@ computeLayout(
]}
```
NOTE: You need to run the JavaScript build, as detailed below, before running this code.
Supported Attributes
--------------------

1018
dist/css-layout.js vendored Normal file

File diff suppressed because it is too large Load Diff

2
dist/css-layout.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/css-layout.min.js.map vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -985,3 +985,7 @@ var computeLayout = (function() {
extractNodes: extractNodes
};
})();
if (typeof exports === 'object') {
module.exports = computeLayout;
}