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
6d188186
Commit
6d188186
authored
Feb 25, 2013
by
Richard Gibson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No ticket: move jQuery.expando to core
parent
972de589
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
core.js
src/core.js
+3
-0
data.js
src/data.js
+0
-4
No files found.
src/core.js
View file @
6d188186
...
@@ -338,6 +338,9 @@ jQuery.extend = jQuery.fn.extend = function() {
...
@@ -338,6 +338,9 @@ jQuery.extend = jQuery.fn.extend = function() {
};
};
jQuery
.
extend
({
jQuery
.
extend
({
// Unique for each copy of jQuery on the page
expando
:
"jQuery"
+
(
core_version
+
Math
.
random
()
).
replace
(
/
\D
/g
,
""
),
noConflict
:
function
(
deep
)
{
noConflict
:
function
(
deep
)
{
if
(
window
.
$
===
jQuery
)
{
if
(
window
.
$
===
jQuery
)
{
window
.
$
=
_$
;
window
.
$
=
_$
;
...
...
src/data.js
View file @
6d188186
...
@@ -201,10 +201,6 @@ data_priv = new Data();
...
@@ -201,10 +201,6 @@ data_priv = new Data();
jQuery
.
extend
({
jQuery
.
extend
({
// Unique for each copy of jQuery on the page
// Non-digits removed to match rinlinejQuery
expando
:
"jQuery"
+
(
core_version
+
Math
.
random
()
).
replace
(
/
\D
/g
,
""
),
// This is no longer relevant to jQuery core, but must remain
// This is no longer relevant to jQuery core, but must remain
// supported for the sake of jQuery 1.9.x API surface compatibility.
// supported for the sake of jQuery 1.9.x API surface compatibility.
acceptData
:
function
()
{
acceptData
:
function
()
{
...
...
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