Skip to content

Conversation

dunialmasmari
Copy link

No description provided.

function write_ws_xml_sheetviews(ws, opts, idx, wb) {
var sview = ({workbookViewId:"0"});
// $FlowIgnore
if((((wb||{}).Workbook||{}).Views||[])[0]) sview.rightToLeft = wb.Workbook.Views[0].RTL ? "1" : "0";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One-liners are the style of this project: but that is wrong and dangerous and hard to read. I am not a project owner, but this is something to consider.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain in your pull (now 2 years stale) what this does, exactly?

});
o[o.length] = writextag('sheetViews', sheetView);
// o[o.length] = writextag('sheetViews', sheetView);
o[o.length] = write_ws_xml_sheetviews(ws, opts, idx, wb);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does uncommenting this do?

@memory-tapes
Copy link

I think this is a great idea. This project may just be too old to really have further development. Lack of tests being the major factor. I would love to fork this myself, and have fixed several local bugs that will never make it upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants