sheetjs-clone/bits/36_xlsprops.js

9 lines
167 B
JavaScript

function xlml_set_prop(Props, tag, val) {
/* TODO: Normalize the properties */
switch(tag) {
case 'Description': tag = 'Comments'; break;
}
Props[tag] = val;
}