Permalink
Browse files

Added MovieClip to the minified build of EaselJS

  • Loading branch information...
lannymcnie committed Nov 17, 2015
1 parent fdf756d commit efe076914e77f0de59e5e4462e6585b46c98d9ec
@@ -1,5 +1,10 @@
Version NEXT [Not Released]
****************************************************************************************************
CRITICAL (may break existing content):
- MovieClip has been added to the minified EaselJS source. The movieclip minified script has been removed.
*****
OTHER:
- fixed compositeOperation value in DisplayProps.setValues (thanks @fumio)
- documentation updates
- fixed the SpriteSheetBuilder to support both SpriteSheet framerate and speed (instead of frequency)
@@ -18,7 +18,6 @@ module.exports = function (grunt) {
watch: {
js: {
files: [getConfigValue('easel_source'),
getConfigValue('movieclip_source'),
getConfigValue('gl_source'),
getConfigValue('watch_exclude_files')
],
@@ -65,7 +64,6 @@ module.exports = function (grunt) {
build: {
files: {
'output/<%= pkg.name.toLowerCase() %>-<%= version %>.min.js': getConfigValue('easel_source'),
'output/movieclip-<%= version %>.min.js': getConfigValue('movieclip_source'),
'output/webgl-<%= version %>.min.js': getConfigValue('gl_source')
}
}
@@ -110,11 +108,6 @@ module.exports = function (grunt) {
{cwd: '', config:'config.json', source:'easel_source'}
]
),
'output/movieclip-<%= version %>.combined.js': combineSource(
[
{cwd: '', config:'config.json', source:'movieclip_source'}
]
),
'output/webgl-<%= version %>.combined.js': combineSource(
[
{cwd: '', config:'config.json', source:'gl_source'}
@@ -197,19 +190,12 @@ module.exports = function (grunt) {
easel: {
file: '../src/easeljs/version.js',
version: '<%= version %>'
},
movieclip: {
file: '../src/easeljs/version_movieclip.js',
version: '<%= version %>'
}
},
clearversion: {
easel: {
file: '../src/easeljs/version.js'
},
movieclip: {
file: '../src/easeljs/version_movieclip.js'
}
}
}
@@ -24,6 +24,7 @@
"../src/easeljs/display/Shape.js",
"../src/easeljs/display/Text.js",
"../src/easeljs/display/BitmapText.js",
"../src/easeljs/display/MovieClip.js",
"../src/easeljs/utils/SpriteSheetUtils.js",
"../src/easeljs/utils/SpriteSheetBuilder.js",
"../src/easeljs/display/DOMElement.js",
@@ -37,10 +38,6 @@
"../src/easeljs/ui/Touch.js",
"../src/easeljs/version.js"
],
"movieclip_source": [
"../src/easeljs/display/MovieClip.js",
"../src/easeljs/version_movieclip.js"
],
"gl_source": [
"../src/easeljs/display/SpriteContainer.js",
"../src/easeljs/display/SpriteStage.js"
@@ -29,7 +29,6 @@ <h1>MovieClip</h1>
<!-- MovieClip is not included in the core library, and is dependent on TweenJS -->
<script src="../_assets/libs/tweenjs-NEXT.min.js"></script>
<script src="../lib/movieclip-NEXT.combined.js"></script>
<script id="editable">
function init() {
@@ -14,8 +14,6 @@
http://code.createjs.com -->
<script src="../../_assets/libs/tweenjs-NEXT.min.js"></script>
<!-- required for MovieClip -->
<script src="../../lib/movieclip-NEXT.combined.js"></script>
<script src="gunnertron_g.js"></script>
<script id="editable">
@@ -66,7 +66,6 @@ <h1>Two Stages passing mouse events</h1>
<script src="../src/easeljs/display/SpriteStage.js"></script>
<script src="../_assets/libs/tweenjs-NEXT.min.js"></script>
<script src="../lib/movieclip-NEXT.combined.js"></script>
<script src="../_assets/art/VectorButton.js"></script>
@@ -1,16 +1,21 @@
# lib directory
This directory contains compressed versions of the EaselJS library, including the most recent tagged release and the in-progress NEXT release.
This directory contains compressed versions of the EaselJS library, including the most recent tagged release and the
in-progress NEXT release.
Both combined and minified versions of the library are included. The former being useful for debugging, and the latter for deployment.
Both combined and minified versions of the library are included. The former being useful for debugging, and the latter
for deployment.
You can also link to the libraries on the [CreateJS CDN](http://code.createjs.com/), to benefit from faster load times and shared caching across sites.
You can also link to the libraries on the [CreateJS CDN](http://code.createjs.com/), to benefit from faster load times
and shared caching across sites.
# libraries
**easeljs-VERSION.min.js** contains minified versions of all of the EaselJS classes (comments and white space stripped) except the contents of easeljs/filters and easeljs/display/MovieClip.
**movieclip-VERSION.min.js** contains a minified version of the MovieClip class. This class is not commonly used for hand-coded projects so it is packaged separately.
**easeljs-VERSION.min.js** contains minified versions of all of the EaselJS classes (comments and white space stripped).
**easeljs-VERSION.combined.js** contains all the EaselJS classes, including whitespace and comments.
**webgl-VERSION.min.js** contains minified versions of the WebGL classes SpriteStage and SpriteContainer.
**webgl-VERSION.combined.js** contains the WebGL classes SpriteStage and SpriteContainer.
# license
The libraries are ©2010 gskinner.com, inc., and made available under the highly permissive MIT open source software license. See the source file header for the full license text.
The libraries are ©2010 gskinner.com, inc., and made available under the highly permissive MIT open source software
license. See the source file header for the full license text.
Oops, something went wrong.

0 comments on commit efe0769

Please sign in to comment.