зеркало из https://github.com/mozilla/pjs.git
fix javascript strict warning
bug 248884, patch by gekacheka, r=mvl
This commit is contained in:
Родитель
847b05a68c
Коммит
28b7723cba
|
@ -878,7 +878,7 @@ calendarManager.prototype.getRemoteCalendarText = function calMan_getRemoteCalen
|
||||||
.createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
|
.createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
|
||||||
// ics files are always utf8
|
// ics files are always utf8
|
||||||
unicodeConverter.charset = "UTF-8";
|
unicodeConverter.charset = "UTF-8";
|
||||||
var result = unicodeConverter.convertFromByteArray( result, result.length );
|
result = unicodeConverter.convertFromByteArray( result, result.length );
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
// Now try the pre-1.8a5 method, which might have problems
|
// Now try the pre-1.8a5 method, which might have problems
|
||||||
// with utf8 chars
|
// with utf8 chars
|
||||||
|
|
Загрузка…
Ссылка в новой задаче