mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-20 11:21:51 +00:00
Make gradient module optional
This commit is contained in:
parent
4ad5e8bf1c
commit
eae7f1335c
2 changed files with 2 additions and 4 deletions
2
build.js
2
build.js
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue