kopia lustrzana https://github.com/backface/turtlestitch
fixed a glitch in the List >> asCSV() encoder
rodzic
4db5536eff
commit
600ec731d2
|
@ -412,7 +412,9 @@ List.prototype.asCSV = function () {
|
||||||
function encodeCell(atomicValue) {
|
function encodeCell(atomicValue) {
|
||||||
var string = atomicValue.toString(),
|
var string = atomicValue.toString(),
|
||||||
cell;
|
cell;
|
||||||
if (string.indexOf('\"') === -1 && (string.indexOf('\n') === -1)) {
|
if (string.indexOf('\"') === -1 &&
|
||||||
|
(string.indexOf('\n') === -1) &&
|
||||||
|
(string.indexOf('\,') === -1)) {
|
||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
cell = ['\"'];
|
cell = ['\"'];
|
||||||
|
|
Ładowanie…
Reference in New Issue