Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
v0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Sep 21, 2013
1 parent 079725e commit 4ce42a6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions jquery.BlackAndWhite.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
**/
;
(function($) {
!(function($) {
$.fn.extend({
BlackAndWhite: function(options) {
'use strict';
Expand Down Expand Up @@ -131,7 +130,7 @@
if (BnWWorker.close)
BnWWorker.close();
return;
};
}

BnWWorker.postMessage({
imgData:imagesArray[0].imageData,
Expand Down Expand Up @@ -189,10 +188,11 @@
src = pic.src,
width = $img.width(),
height = $img.height(),
position = $img.position(),
css = {
'position': 'absolute',
top: 0,
left: 0,
top: position.top,
left: position.left,
display: invertHoverEffect ? 'none' : 'block'
};
if (supportsCanvas && !cssfilters) {
Expand Down
10 changes: 5 additions & 5 deletions src/jquery.BlackAndWhite.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
**/
;
(function($) {
!(function($) {
$.fn.extend({
BlackAndWhite: function(options) {
'use strict';
Expand Down Expand Up @@ -131,7 +130,7 @@
if (BnWWorker.close)
BnWWorker.close();
return;
};
}

BnWWorker.postMessage({
imgData:imagesArray[0].imageData,
Expand Down Expand Up @@ -189,10 +188,11 @@
src = pic.src,
width = $img.width(),
height = $img.height(),
position = $img.position(),
css = {
'position': 'absolute',
top: 0,
left: 0,
top: position.top,
left: position.left,
display: invertHoverEffect ? 'none' : 'block'
};
if (supportsCanvas && !cssfilters) {
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.BlackAndWhite.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ce42a6

Please sign in to comment.