Make gradient module optional

This commit is contained in:
kangax 2013-06-10 15:30:09 +02:00
parent 4ad5e8bf1c
commit eae7f1335c
2 changed files with 2 additions and 4 deletions

View file

@ -128,7 +128,7 @@ var filesToInclude = [
ifSpecifiedInclude('parser', 'src/parser.js'),
'src/point.class.js',
'src/gradient.class.js',
ifSpecifiedInclude('gradient', 'src/gradient.class.js'),
'src/pattern.class.js',
'src/shadow.class.js',
'src/intersection.class.js',

View file

@ -4,16 +4,14 @@ var fs = require('fs'),
var modules = [
'text',
'cufon',
// 'json',
'gestures',
'easing',
'parser',
'freedrawing',
'interaction',
'serialization',
// 'stateful',
// 'object_straightening',
'image_filters',
'gradient',
'node'
];