Don't rely on XML conventions. Close tags the HTML way. Allows renaming index.xhtml to index.html
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Mar 2013 15:34:26 +0100
changeset 901ededfe689b56
parent 900 67738f506660
child 902 97cf8624710c
Don't rely on XML conventions. Close tags the HTML way. Allows renaming index.xhtml to index.html
javaquery/demo-calculator-dynamic/src/main/resources/org/apidesign/bck2brwsr/demo/calc/Calculator.xhtml
javaquery/demo-calculator/src/main/resources/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml
     1.1 --- a/javaquery/demo-calculator-dynamic/src/main/resources/org/apidesign/bck2brwsr/demo/calc/Calculator.xhtml	Tue Mar 26 12:58:55 2013 +0100
     1.2 +++ b/javaquery/demo-calculator-dynamic/src/main/resources/org/apidesign/bck2brwsr/demo/calc/Calculator.xhtml	Tue Mar 26 15:34:26 2013 +0100
     1.3 @@ -83,7 +83,7 @@
     1.4          <div data-bind="if: emptyHistory">No results yet.</div>
     1.5          <ul data-bind="foreach: history">
     1.6              <li>
     1.7 -                <span data-bind="text: $data"/> -
     1.8 +                <span data-bind="text: $data"></span> -
     1.9                  <a href="#" data-bind="click: $root.recoverMemory">Use</a>
    1.10                  <a href="#" data-bind="click: $root.removeMemory">Remove</a>
    1.11              </li>
     2.1 --- a/javaquery/demo-calculator/src/main/resources/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml	Tue Mar 26 12:58:55 2013 +0100
     2.2 +++ b/javaquery/demo-calculator/src/main/resources/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml	Tue Mar 26 15:34:26 2013 +0100
     2.3 @@ -82,14 +82,14 @@
     2.4          <div data-bind="if: emptyHistory">No results yet.</div>
     2.5          <ul data-bind="foreach: history">
     2.6              <li>
     2.7 -                <span data-bind="text: $data"/> -
     2.8 +                <span data-bind="text: $data"></span> -
     2.9                  <a href="#" data-bind="click: $root.recoverMemory">Use</a>
    2.10                  <a href="#" data-bind="click: $root.removeMemory">Remove</a>
    2.11              </li>
    2.12          </ul>
    2.13          
    2.14          <div data-bind="text: displayPreview"></div>
    2.15 -        <script src="bck2brwsr.js"/>
    2.16 +        <script src="bck2brwsr.js"></script>
    2.17          <script>
    2.18              var vm = bck2brwsr('demo.static.calculator-0.5-SNAPSHOT.jar');
    2.19              vm.loadClass('org.apidesign.bck2brwsr.demo.calc.staticcompilation.Calc');