Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
raphael
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
nhn
raphael
Commits
a8d933c5
Commit
a8d933c5
authored
Feb 16, 2013
by
Tomas Alabes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getData function to elements
parent
03aedfd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
3 deletions
+26
-3
raphael-min.js
raphael-min.js
+1
-1
raphael.core.js
raphael.core.js
+10
-0
raphael.js
raphael.js
+15
-2
No files found.
raphael-min.js
View file @
a8d933c5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.core.js
View file @
a8d933c5
...
...
@@ -3077,6 +3077,16 @@
eldata
[
this
.
id
]
&&
delete
eldata
[
this
.
id
][
key
];
}
return
this
;
};
/*\
* Element.getData
[ method ]
**
* Retrieves the element data
= (object) data
\*/
elproto
.
getData
=
function
()
{
return
eldata
[
this
.
id
]
||
{};
};
/*\
* Element.hover
...
...
raphael.js
View file @
a8d933c5
...
...
@@ -377,6 +377,7 @@
};
(
typeof
module
!=
"undefined"
&&
module
.
exports
)
?
(
module
.
exports
=
eve
)
:
(
typeof
define
!=
"undefined"
?
(
define
(
"eve"
,
[],
function
()
{
return
eve
;
}))
:
(
glob
.
eve
=
eve
));
})(
this
);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
...
...
@@ -3456,6 +3457,16 @@
eldata
[
this
.
id
]
&&
delete
eldata
[
this
.
id
][
key
];
}
return
this
;
};
/*\
* Element.getData
[ method ]
**
* Retrieves the element data
= (object) data
\*/
elproto
.
getData
=
function
()
{
return
eldata
[
this
.
id
]
||
{};
};
/*\
* Element.hover
...
...
@@ -5572,6 +5583,7 @@
loaded
=
true
;
});
})();
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
...
...
@@ -6931,7 +6943,8 @@ window.Raphael.svg && function (R) {
};
})(
method
);
}
}(
window
.
Raphael
);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
}(
window
.
Raphael
);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
...
...
@@ -7903,4 +7916,4 @@ window.Raphael.vml && function (R) {
};
})(
method
);
}
}(
window
.
Raphael
);
\ No newline at end of file
}(
window
.
Raphael
);
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