Executing "prince -v --javascript my.html"
and getting this error:
prince: my.html:8: error: unexpected token identifier("ID")
I've tracked it down to this:
vvvvvvvvvvvvvvvvvvvvvvvvv
<script>
var componentNode = null;
var componentFunctionNode = null;
var failureNode = null;
var effectNode = null;
var rootCauseNode = null;
<!-- block ID=11201-->
componentNode = addToComponentTree(dfmeaTableItem.Children, 'Assy, Arm Drape');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It's that comment that's causing the grief. So understand that there are a lot of these comments, and that they're autogenerated. I'm trying to figure out if I can suppress them during the autogeneration step, but in the meantime, how do I tell prince to ignore comments inside of JS sections?
Brilliant program, by the way.
and getting this error:
prince: my.html:8: error: unexpected token identifier("ID")
I've tracked it down to this:
vvvvvvvvvvvvvvvvvvvvvvvvv
<script>
var componentNode = null;
var componentFunctionNode = null;
var failureNode = null;
var effectNode = null;
var rootCauseNode = null;
<!-- block ID=11201-->
componentNode = addToComponentTree(dfmeaTableItem.Children, 'Assy, Arm Drape');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It's that comment that's causing the grief. So understand that there are a lot of these comments, and that they're autogenerated. I'm trying to figure out if I can suppress them during the autogeneration step, but in the meantime, how do I tell prince to ignore comments inside of JS sections?
Brilliant program, by the way.