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
dabdea70
Commit
dabdea70
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
328ba956
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
core.js
src/core.js
+4
-0
data.js
src/data.js
+0
-4
No files found.
src/core.js
View file @
dabdea70
...
@@ -361,6 +361,10 @@ jQuery.extend = jQuery.fn.extend = function() {
...
@@ -361,6 +361,10 @@ jQuery.extend = jQuery.fn.extend = function() {
};
};
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
,
""
),
noConflict
:
function
(
deep
)
{
noConflict
:
function
(
deep
)
{
if
(
window
.
$
===
jQuery
)
{
if
(
window
.
$
===
jQuery
)
{
window
.
$
=
_$
;
window
.
$
=
_$
;
...
...
src/data.js
View file @
dabdea70
...
@@ -181,10 +181,6 @@ function internalRemoveData( elem, name, pvt ) {
...
@@ -181,10 +181,6 @@ function internalRemoveData( elem, name, pvt ) {
jQuery
.
extend
({
jQuery
.
extend
({
cache
:
{},
cache
:
{},
// Unique for each copy of jQuery on the page
// Non-digits removed to match rinlinejQuery
expando
:
"jQuery"
+
(
core_version
+
Math
.
random
()
).
replace
(
/
\D
/g
,
""
),
// The following elements throw uncatchable exceptions if you
// The following elements throw uncatchable exceptions if you
// attempt to add expando properties to them.
// attempt to add expando properties to them.
noData
:
{
noData
:
{
...
...
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