diff --git a/Thorfile b/Thorfile index 3d55870a..ca40b830 100644 --- a/Thorfile +++ b/Thorfile @@ -5,7 +5,7 @@ class Build < Thor # This is the list of files to concatenate. The first file will appear at the top of the final file. All files are relative to the lib directory. FILES = [ "src/Global.js", "src/util/Type.js", "src/Canvas.js", "src/util/Tween.js", "src/util/Transform.js", "src/util/Collection.js", - "src/filters/Grayscale.js", "src/filters/Brighten.js", "src/filters/Invert.js", "src/filters/Gauss.js", + "src/filters/Grayscale.js", "src/filters/Brighten.js", "src/filters/Invert.js", "src/filters/Blur.js", "src/Node.js", "src/Animation.js", "src/DragAndDrop.js", "src/Transition.js", "src/Container.js", "src/Shape.js", "src/Stage.js", "src/Layer.js", "src/Group.js", "src/shapes/Rect.js", "src/shapes/Circle.js", "src/shapes/Wedge.js", "src/shapes/Ellipse.js", "src/shapes/Image.js", "src/shapes/Polygon.js", "src/shapes/Text.js", "src/shapes/Line.js", "src/shapes/Spline.js", "src/shapes/Blob.js", "src/shapes/Sprite.js", "src/plugins/Path.js", "src/plugins/TextPath.js", "src/plugins/RegularPolygon.js", "src/plugins/Star.js", "src/plugins/Label.js" diff --git a/src/filters/Gauss.js b/src/filters/Blur.js similarity index 99% rename from src/filters/Gauss.js rename to src/filters/Blur.js index 9d808b61..6526c1b9 100644 --- a/src/filters/Gauss.js +++ b/src/filters/Blur.js @@ -327,14 +327,14 @@ Kinetic.Filters = Kinetic.Filters || {}; /** - * Gauss Filter + * Blur Filter * @function * @memberOf Kinetic.Filters * @param {Object} imageData * @param {Object} config * @param {Integer} config.radius */ - Kinetic.Filters.Gauss = function(imageData, config) { + Kinetic.Filters.Blur = function(imageData, config) { var radius = config.radius; radius |= 0; diff --git a/tests/js/unit/plugins/labelTests.js b/tests/js/unit/plugins/labelTests.js index 5cfd56fd..2babc7c5 100644 --- a/tests/js/unit/plugins/labelTests.js +++ b/tests/js/unit/plugins/labelTests.js @@ -1,5 +1,5 @@ Test.Modules.LABEL = { - '*add label': function(containerId) { + 'add label': function(containerId) { var stage = new Kinetic.Stage({ container: containerId, width: 578, diff --git a/tests/js/unit/shapes/imageTests.js b/tests/js/unit/shapes/imageTests.js index a7ea6adc..064ee31a 100644 --- a/tests/js/unit/shapes/imageTests.js +++ b/tests/js/unit/shapes/imageTests.js @@ -319,7 +319,7 @@ Test.Modules.IMAGE = { test(darth.getWidth() === 438, 'image width should be 438'); test(darth.getHeight() === 300, 'image height should be 300'); - darth.applyFilter(Kinetic.Filters.Gauss, { + darth.applyFilter(Kinetic.Filters.Blur, { radius: 10 }, function() { layer.draw();