Comparing version 0.2.12 to 0.2.13
4
j.js
@@ -111,3 +111,3 @@ /* j -- (C) 2013-2014 SheetJS -- http://sheetjs.com */ | ||
w[1].SheetNames.forEach(function(sheet) { | ||
var js = json[sheet], s = sheet.replace(cleanregex,""); | ||
var js = json[sheet], s = sheet.replace(cleanregex,"").replace(/^([0-9])/,"_$1"); | ||
var xml = ""; | ||
@@ -117,3 +117,3 @@ xml += "<" + s + ">"; | ||
xml += "<" + s + "Data>"; | ||
for(var y in r) if(r.hasOwnProperty(y)) xml += "<" + y.replace(cleanregex,"") + ">" + escapexml(r[y]) + "</" + y.replace(cleanregex,"") + ">"; | ||
for(var y in r) if(r.hasOwnProperty(y)) xml += "<" + y.replace(cleanregex,"").replace(/^([0-9])/,"_$1") + ">" + escapexml(r[y]) + "</" + y.replace(cleanregex,"").replace(/^([0-9])/,"_$1") + ">"; | ||
xml += "</" + s + "Data>"; | ||
@@ -120,0 +120,0 @@ }); |
{ | ||
"name": "j", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"author": "sheetjs", | ||
@@ -5,0 +5,0 @@ "description": "data wrangler", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33509