r81212 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r81211
|
r81212
|
r81213
>
Date:
20:23, 30 January 2011
Author:
brion
Status:
deferred
Tags:
Comment:
Workaround for
bug 27046
: add semicolon where implied statement terminator was lost
Also removed UTF-8 BOM char which seems harmless here, but gets passed through by ResourceLoader.
Modified paths:
/trunk/extensions/SVGEdit/modules/ext.svgedit.embedapi.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SVGEdit/modules/ext.svgedit.embedapi.js
—
—
@@ -1,4 +1,4 @@
2
-/*
2
+/*
3
3
function embedded_svg_edit(frame){
4
4
//initialize communication
5
5
this.frame = frame;
—
—
@@ -78,7 +78,7 @@
79
79
for(var i = 0; i < functions.length; i++){
80
80
this[functions[i]] = (function(d){
81
81
return function(){
82
- var t = this //new callback
82
+ var t = this; //new callback
83
83
for(var g = 0, args = []; g < arguments.length; g++){
84
84
args.push(arguments[g]);
85
85
}
Follow-up revisions
Revision
Commit summary
Author
Date
r81246
(
bug 27046
) Do not strip newlines following C++-style // comments. Prior to t...
catrope
12:48, 31 January 2011
Status & tagging log
12:57, 2 February 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r81212
[
removed:
new
added:
deferred]