From c4265fa1484867e717c50bdb19d164ec56a081f4 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 14 Feb 2012 13:25:25 -0800 Subject: Removing the old and obsolete ninja components Signed-off-by: Valerio Virgillito --- .../ninja-components/effect/invert-effect.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100755 node_modules/ninja-components/effect/invert-effect.js (limited to 'node_modules/ninja-components/effect/invert-effect.js') diff --git a/node_modules/ninja-components/effect/invert-effect.js b/node_modules/ninja-components/effect/invert-effect.js deleted file mode 100755 index d5a3f7cf..00000000 --- a/node_modules/ninja-components/effect/invert-effect.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - This file contains proprietary software owned by Motorola Mobility, Inc.
- No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
- (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. -
*/ -var Montage = require("montage").Montage; -var Effect = require("effect/effect").Effect; - -exports.InvertEffect = Montage.create(Effect, { - - applyEffect: { - value: function(pixels, pixelCount) { - var i; - - for (i = 0; i < pixelCount; i += 4) { - pixels[i] = 255 - pixels[i]; - pixels[i+1] = 255 - pixels[i+1]; - pixels[i+2] = 255 - pixels[i+2]; - } - } - } - -}); -- cgit v1.2.3