Hi Charles,
This one should have worked:
<div id="panel" data-ex-role="exhibit-viewPanel" data-ex-initial-view="1">
But looking deeper, it appears there's a bug. Exhibit.getAttribute was
expected to always return a string, though the underlying jQuery call
"makes every effort to convert it to a typed value", so in this case it
was returning an integer.
I've modified getAttribute in the repository to better handle always
returning a string. If you're working with a clone off GitHub, make a
pull; it won't be available on the hosted code server until some future
date.
Also, if you're not already, you may want to temporarily add:
<div data-ex-role="exhibit-controlPanel"
data-ex-developer-mode="true"></div>
to your file so you can use the history reset widget, which may also be
interfering with your ability to see changes take shape (by always
taking over and setting the view to whatever you looked at last).