This question is locked. New answers and comments are not allowed.
Hi:
I defined a template using a conditional expression, like this:
In Graphite, the div on line 5 produces an unmatched div error. No biggee, the code runs correctly. However, after adding this code and saving, the simulator is no longer updated, and code changes made in the window are no longer saved. If I make a change, then use Save, the window appears to be saved, and the Save menu option is dimmed, but the simulator is not updated. To get back to normal state, I have to close Graphite completely and reopen. Changes made before the save are gone. Thereafter, I am able to make changes and save without problems, even though the Code Analysis pane continues to show the "Expected </div>" error.
Thank you,
Kelly
I defined a template using a conditional expression, like this:
1.
<
script
type
=
"text/x-kendo-template"
id
=
"myTemplate"
>
2.
# if (canDo) { #
3.
<
div
data-role
=
"touch"
data-bind
=
"events: { tap: dothis }"
>
4.
# } else { #
5.
<
div
data-role
=
"touch"
data-bind
=
"events: { tap: dothat }"
>
6.
# } #
In Graphite, the div on line 5 produces an unmatched div error. No biggee, the code runs correctly. However, after adding this code and saving, the simulator is no longer updated, and code changes made in the window are no longer saved. If I make a change, then use Save, the window appears to be saved, and the Save menu option is dimmed, but the simulator is not updated. To get back to normal state, I have to close Graphite completely and reopen. Changes made before the save are gone. Thereafter, I am able to make changes and save without problems, even though the Code Analysis pane continues to show the "Expected </div>" error.
Thank you,
Kelly