Permalink
Browse files

change plugin to filter.

  • Loading branch information...
1 parent 36ae9da commit db62a4896ffc8d1313f217d1219a06c079f57869 @uxder committed Mar 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/vivid.js
View
@@ -181,15 +181,15 @@ Vivid.filter.blackWhite = (function() {
* Constructor
* @param {Object Literal} [settings] Object that contains elem, $elem, imgW, imgH, $canvas, ctx, options
*/
- var plugin = function(settings) {
+ var filter = function(settings) {
//set the settings
s = settings;
//initialize plugin
this.init();
}
//Pubic Methods
- plugin.prototype = {
+ filter.prototype = {
init: function() {
var imgd = s.ctx.getImageData(0, 0, s.imgW, s.imgH);
var pix = imgd.data;
@@ -204,6 +204,6 @@ Vivid.filter.blackWhite = (function() {
}
//return the plugin object
- return plugin;
+ return filter;
})();

0 comments on commit db62a48

Please sign in to comment.