diff --git a/.npmignore b/.npmignore index 9d0a93ac..a8c29772 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,8 @@ src/ lib/ dist/all.min.js dist/all.min.js.gz +dist/fabric.min.js +dist/fabric.min.js.gz .DS_Store HEADER.js -build.js \ No newline at end of file +build.js diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 650c3ab0..bc8e9f2f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ If you are sure that it's a bug in Fabric.js or a suggestion, open a new [issue] perfect, but even a simple script demonstrating the error would suffice. You could use [this jsfiddle template](http://jsfiddle.net/fabricjs/Da7SP/) as a starting point. -- **Fabric.js version:** Make sure to specify which version of Fabric.js you are using. The version can be found in [all.js file](https://github.com/kangax/fabric.js/blob/master/dist/all.js#L5) or just by executing `fabric.version` in the browser console. +- **Fabric.js version:** Make sure to specify which version of Fabric.js you are using. The version can be found in [fabric.js file](https://github.com/kangax/fabric.js/blob/master/dist/fabric.js#L5) or just by executing `fabric.version` in the browser console. ## Pull requests diff --git a/README.md b/README.md index cd1a4744..3bc5453c 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Fabric.js started as a foundation for design editor on [printio.ru](http://print If you use google closure compiler you have to add `sourceMappingURL` manually at the end of the minified file all.min.js (see issue https://code.google.com/p/closure-compiler/issues/detail?id=941). - //# sourceMappingURL=all.min.js.map + //# sourceMappingURL=fabric.min.js.map ### Demos @@ -137,11 +137,11 @@ These are the optional modules that could be specified for inclusion, when build Additional flags for build script are: -- **requirejs** — Makes fabric requirejs AMD-compatible in `dist/all.js`. *Note:* an unminified, requirejs-compatible version is always created in `dist/all.require.js` +- **requirejs** — Makes fabric requirejs AMD-compatible in `dist/fabric.js`. *Note:* an unminified, requirejs-compatible version is always created in `dist/fabric.require.js` - **no-strict** — Strips "use strict" directives from source - **no-svg-export** — Removes svg exporting functionality - **no-es5-compat** - Removes ES5 compat methods (Array.prototype.*, String.prototype.*, Function.prototype.*) -- **sourcemap** - Generates a sourceMap file and adds the `sourceMappingURL` (only if uglifyjs is used) to `dist/all.min.js` +- **sourcemap** - Generates a sourceMap file and adds the `sourceMappingURL` (only if uglifyjs is used) to `dist/fabric.min.js` For example: @@ -158,11 +158,11 @@ For example:
- +