projects
/
raphael
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return pop method for the set.
[raphael]
/
raphael.js
diff --git
a/raphael.js
b/raphael.js
index
6cf9d5e
..
ef50bc7
100644
(file)
--- a/
raphael.js
+++ b/
raphael.js
@@
-2571,6
+2571,10
@@
window.Raphael = (function () {
}
return this;
};
+ Set.prototype.pop = function () {
+ delete this[this.length--];
+ return this.items.pop();
+ };
for (var method in Element.prototype) {
Set.prototype[method] = (function (methodname) {
return function () {