Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
ba16ba2e
Commit
ba16ba2e
authored
Mar 13, 2013
by
Michał Gołębiowski
Committed by
Dave Methvin
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update grunt-contrib-jshint to 0.3.0, part 2, close gh-1203.
parent
6da5eb10
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
9 deletions
+5
-9
Gruntfile.js
Gruntfile.js
+1
-1
.jshintrc
src/.jshintrc
+1
-2
core.js
src/core.js
+1
-2
effects.js
src/effects.js
+1
-1
event.js
src/event.js
+1
-3
No files found.
Gruntfile.js
View file @
ba16ba2e
src/.jshintrc
View file @
ba16ba2e
...
@@ -11,12 +11,11 @@
...
@@ -11,12 +11,11 @@
"maxerr": 100,
"maxerr": 100,
"eqnull": true,
"eqnull": true,
"evil": true,
"sub": true,
"sub": true,
"boss": true,
"boss": true,
"browser": true,
"browser": true,
"
wsh
": true,
"
es5
": true,
"globals": {
"globals": {
"jQuery": true,
"jQuery": true,
...
...
src/core.js
View file @
ba16ba2e
...
@@ -404,8 +404,7 @@ jQuery.extend({
...
@@ -404,8 +404,7 @@ jQuery.extend({
isArray
:
Array
.
isArray
,
isArray
:
Array
.
isArray
,
isWindow
:
function
(
obj
)
{
isWindow
:
function
(
obj
)
{
/* jshint eqeqeq: false */
return
obj
!=
null
&&
obj
===
obj
.
window
;
return
obj
!=
null
&&
obj
==
obj
.
window
;
},
},
isNumeric
:
function
(
obj
)
{
isNumeric
:
function
(
obj
)
{
...
...
src/effects.js
View file @
ba16ba2e
...
@@ -242,7 +242,7 @@ jQuery.Animation = jQuery.extend( Animation, {
...
@@ -242,7 +242,7 @@ jQuery.Animation = jQuery.extend( Animation, {
});
});
function
defaultPrefilter
(
elem
,
props
,
opts
)
{
function
defaultPrefilter
(
elem
,
props
,
opts
)
{
/*
jshint validthis:
true */
/*
jshint validthis:
true */
var
index
,
prop
,
value
,
length
,
dataShow
,
toggle
,
tween
,
hooks
,
oldfire
,
var
index
,
prop
,
value
,
length
,
dataShow
,
toggle
,
tween
,
hooks
,
oldfire
,
anim
=
this
,
anim
=
this
,
style
=
elem
.
style
,
style
=
elem
.
style
,
...
...
src/event.js
View file @
ba16ba2e
...
@@ -402,9 +402,7 @@ jQuery.event = {
...
@@ -402,9 +402,7 @@ jQuery.event = {
// Avoid non-left-click bubbling in Firefox (#3861)
// Avoid non-left-click bubbling in Firefox (#3861)
if
(
delegateCount
&&
cur
.
nodeType
&&
(
!
event
.
button
||
event
.
type
!==
"click"
)
)
{
if
(
delegateCount
&&
cur
.
nodeType
&&
(
!
event
.
button
||
event
.
type
!==
"click"
)
)
{
/* jshint eqeqeq: false */
for
(
;
cur
!==
this
;
cur
=
cur
.
parentNode
||
this
)
{
for
(
;
cur
!=
this
;
cur
=
cur
.
parentNode
||
this
)
{
/* jshint eqeqeq: true */
// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
if
(
cur
.
disabled
!==
true
||
event
.
type
!==
"click"
)
{
if
(
cur
.
disabled
!==
true
||
event
.
type
!==
"click"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment