projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e33007
)
bugfix.
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 2 Aug 2013 14:18:08 +0000
(16:18 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 2 Aug 2013 14:18:08 +0000
(16:18 +0200)
skins/ajax_scripts/javascript_events_api.js
patch
|
blob
|
history
diff --git
a/skins/ajax_scripts/javascript_events_api.js
b/skins/ajax_scripts/javascript_events_api.js
index
14c6dfe
..
71baec7
100644
(file)
--- a/
skins/ajax_scripts/javascript_events_api.js
+++ b/
skins/ajax_scripts/javascript_events_api.js
@@
-302,7
+302,7
@@
else {
* http://www.sitepoint.com/blogs/2006/01/17/javascript-inheritance/
*/
-
var
copyPrototype = function (descendant, parent) {
+copyPrototype = function (descendant, parent) {
var sConstructor = parent.toString();
var aMatch = sConstructor.match( /\s*function (.*)\(/ );
if ( aMatch !== null ) { descendant.prototype[aMatch[1]] = parent; }