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
266facc0
Commit
266facc0
authored
Jul 22, 2010
by
InfinitiesLoop
Committed by
John Resig
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ticket 6808. Updated per code review comments by jeresig
parent
9faab0b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
data.js
src/data.js
+3
-6
No files found.
src/data.js
View file @
266facc0
...
@@ -51,7 +51,7 @@ jQuery.extend({
...
@@ -51,7 +51,7 @@ jQuery.extend({
}
else
{
}
else
{
cache
[
id
]
=
function
()
{
cache
[
id
]
=
function
()
{
return
jQuery
.
extend
(
true
,
{},
name
);
return
jQuery
.
extend
(
true
,
{},
name
);
}
}
;
}
}
}
else
if
(
!
cache
[
id
]
)
{
}
else
if
(
!
cache
[
id
]
)
{
...
@@ -61,15 +61,12 @@ jQuery.extend({
...
@@ -61,15 +61,12 @@ jQuery.extend({
var
store
=
{};
var
store
=
{};
cache
[
id
]
=
function
()
{
cache
[
id
]
=
function
()
{
return
store
;
return
store
;
}
}
;
}
}
}
}
thisCache
=
cache
[
id
];
thisCache
=
isNode
?
cache
[
id
]
:
cache
[
id
]();
if
(
!
isNode
)
{
thisCache
=
thisCache
();
}
// Prevent overriding the named cache with undefined values
// Prevent overriding the named cache with undefined values
if
(
data
!==
undefined
)
{
if
(
data
!==
undefined
)
{
...
...
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