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
1a25f21d
Commit
1a25f21d
authored
Sep 06, 2013
by
Michał Gołębiowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No ticket. Restore checking individual src/**/*.js files by jsHint.
parent
1f16b168
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
30 additions
and
21 deletions
+30
-21
.jshintignore
.jshintignore
+2
-0
Gruntfile.js
Gruntfile.js
+6
-0
load.js
src/ajax/load.js
+1
-1
rquery.js
src/ajax/var/rquery.js
+2
-2
cssExpand.js
src/css/var/cssExpand.js
+1
-1
isHidden.js
src/css/var/isHidden.js
+1
-1
amd.js
src/exports/amd.js
+1
-1
rcheckableType.js
src/manipulation/var/rcheckableType.js
+2
-2
offset.js
src/offset.js
+2
-1
outro.js
src/outro.js
+1
-1
selector.js
src/selector.js
+1
-1
arr.js
src/var/arr.js
+1
-1
class2type.js
src/var/class2type.js
+1
-1
concat.js
src/var/concat.js
+1
-1
hasOwn.js
src/var/hasOwn.js
+1
-1
indexOf.js
src/var/indexOf.js
+1
-1
pnum.js
src/var/pnum.js
+2
-2
push.js
src/var/push.js
+1
-1
rnotwhite.js
src/var/rnotwhite.js
+2
-2
No files found.
.jshintignore
View file @
1a25f21d
src/intro.js
src/outro.js
test/qunit/**
test/qunit/**
test/data/jquery-1.9.1.ajax_xhr.min.js
test/data/jquery-1.9.1.ajax_xhr.min.js
test/data/badcall.js
test/data/badcall.js
...
...
Gruntfile.js
View file @
1a25f21d
...
@@ -55,6 +55,12 @@ module.exports = function( grunt ) {
...
@@ -55,6 +55,12 @@ module.exports = function( grunt ) {
}
}
},
},
jshint
:
{
jshint
:
{
src
:
{
src
:
[
"src/**/*.js"
],
options
:
{
jshintrc
:
"src/.jshintrc"
}
},
dist
:
{
dist
:
{
src
:
[
"dist/jquery.js"
],
src
:
[
"dist/jquery.js"
],
options
:
srcHintOptions
options
:
srcHintOptions
...
...
src/ajax/load.js
View file @
1a25f21d
src/ajax/var/rquery.js
View file @
1a25f21d
define
(
function
()
{
define
(
function
()
{
return
/
\?
/
;
return
(
/
\?
/
)
;
});
});
src/css/var/cssExpand.js
View file @
1a25f21d
src/css/var/isHidden.js
View file @
1a25f21d
src/exports/amd.js
View file @
1a25f21d
src/manipulation/var/rcheckableType.js
View file @
1a25f21d
define
(
function
()
{
define
(
function
()
{
return
/^
(?:
checkbox|radio
)
$/i
;
return
(
/^
(?:
checkbox|radio
)
$/i
)
;
});
});
src/offset.js
View file @
1a25f21d
...
@@ -60,7 +60,8 @@ jQuery.offset = {
...
@@ -60,7 +60,8 @@ jQuery.offset = {
curOffset
=
curElem
.
offset
();
curOffset
=
curElem
.
offset
();
curCSSTop
=
jQuery
.
css
(
elem
,
"top"
);
curCSSTop
=
jQuery
.
css
(
elem
,
"top"
);
curCSSLeft
=
jQuery
.
css
(
elem
,
"left"
);
curCSSLeft
=
jQuery
.
css
(
elem
,
"left"
);
calculatePosition
=
(
position
===
"absolute"
||
position
===
"fixed"
)
&&
(
curCSSTop
+
curCSSLeft
).
indexOf
(
"auto"
)
>
-
1
;
calculatePosition
=
(
position
===
"absolute"
||
position
===
"fixed"
)
&&
(
curCSSTop
+
curCSSLeft
).
indexOf
(
"auto"
)
>
-
1
;
// Need to be able to calculate position if either top or left is auto and position is either absolute or fixed
// Need to be able to calculate position if either top or left is auto and position is either absolute or fixed
if
(
calculatePosition
)
{
if
(
calculatePosition
)
{
...
...
src/outro.js
View file @
1a25f21d
src/selector.js
View file @
1a25f21d
src/var/arr.js
View file @
1a25f21d
src/var/class2type.js
View file @
1a25f21d
src/var/concat.js
View file @
1a25f21d
src/var/hasOwn.js
View file @
1a25f21d
src/var/indexOf.js
View file @
1a25f21d
src/var/pnum.js
View file @
1a25f21d
define
(
function
()
{
define
(
function
()
{
return
/
[
+-
]?(?:\d
*
\.
|
)\d
+
(?:[
eE
][
+-
]?\d
+|
)
/
.
source
;
return
(
/
[
+-
]?(?:\d
*
\.
|
)\d
+
(?:[
eE
][
+-
]?\d
+|
)
/
)
.
source
;
});
});
src/var/push.js
View file @
1a25f21d
src/var/rnotwhite.js
View file @
1a25f21d
define
(
function
()
{
define
(
function
()
{
return
/
\S
+/g
;
return
(
/
\S
+/g
)
;
});
});
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