From 65d54581b4cf0312a8fbe712ee7a5068a5403f20 Mon Sep 17 00:00:00 2001 From: kangax Date: Thu, 4 Jul 2013 14:17:41 +0200 Subject: [PATCH] Make gradient, pattern, shadow optional modules --- build.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.js b/build.js index 3378be7c..587d3264 100644 --- a/build.js +++ b/build.js @@ -128,12 +128,13 @@ var filesToInclude = [ ifSpecifiedInclude('parser', 'src/parser.js'), 'src/point.class.js', - ifSpecifiedInclude('gradient', 'src/gradient.class.js'), - 'src/pattern.class.js', - 'src/shadow.class.js', 'src/intersection.class.js', 'src/color.class.js', + ifSpecifiedInclude('gradient', 'src/gradient.class.js'), + ifSpecifiedInclude('pattern', 'src/pattern.class.js'), + ifSpecifiedInclude('shadow', 'src/shadow.class.js'), + 'src/static_canvas.class.js', ifSpecifiedInclude('freedrawing', 'src/brushes/base_brush.class.js'),