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

Commit 1b1ee77

Browse files
v0.3.3
2 parents 8b4dddd + cf47c5b commit 1b1ee77

15 files changed

+656
-487
lines changed

.jsbeautifyrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"indent_size": 2,
3+
"indent_char": " ",
4+
"indent_level": 0,
5+
"indent_with_tabs": true,
6+
"preserve_newlines": true,
7+
"max_preserve_newlines": 10,
8+
"jslint_happy": true,
9+
"brace_style": "collapse",
10+
"keep_array_indentation": false,
11+
"keep_function_indentation": false,
12+
"space_before_conditional": true,
13+
"break_chained_methods": false,
14+
"eval_code": false,
15+
"unescape_strings": false,
16+
"wrap_line_length": 0
17+
}

.jshintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"curly": true, // true: Require {} for every new block or scope
3+
"eqeqeq": true, // true: Require triple equals (===) for comparison
4+
"immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
5+
"latedef": true, // true: Require variables/functions to be defined before being used
6+
"newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
7+
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
8+
"sub": true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
9+
"boss": true, // true: Tolerate assignments where comparisons would be expected
10+
"eqnull": true, // true: Tolerate use of `== null`
11+
"indent":2
12+
}

Gruntfile.js

100644100755
File mode changed.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ $('.bwWrapper').BlackAndWhite({
2525
hoverEffect : true, // default true
2626
// set the path to BnWWorker.js for a superfast implementation
2727
webworkerPath : false,
28-
// for the images with a fluid width and height
29-
responsive:true,
3028
// to invert the hover effect
3129
invertHoverEffect: false,
3230
// this option works only on the modern browsers ( on IE lower than 9 it remains always 1)

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.BlackAndWhite",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"main": "jquery.BlackAndWhite.js",
55
"ignore": [
66
"**/.*",

demo.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ <h2>Just one line of JS Code</h2>
8888
hoverEffect : true, // default true
8989
// set the path to BnWWorker.js for a superfast implementation
9090
webworkerPath : false,
91-
// for the images with a fluid width and height
92-
responsive:true,
9391
// this option works only on the modern browsers ( on IE lower than 9 it remains always 1)
9492
intensity:1,
9593
speed: { //this property could also be just speed: value for both fadeIn and fadeOut

invertHoverEffect.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<link href="css/BlackAndWhite.css" rel="stylesheet">
4545

4646
<script src="src/jquery.min.js"></script>
47-
<script src="jquery.BlackAndWhite.js"></script>
47+
<script src="src/jquery.BlackAndWhite.js"></script>
4848

4949
</head>
5050
<body>

0 commit comments

Comments
 (0)