Remove erroneous mkws-template_underscore and fix demos. MKWS-294
[mkws-moved-to-github.git] / examples / htdocs / topic.html
index 5e43736..642941b 100644 (file)
@@ -38,7 +38,7 @@
       return window.location.pathname + "?q=" + encodeURIComponent(topic);
     });
   </script>
-  <script class="mkws-template_topicimage" type="text/x-handlebars-template">
+  <script class="mkws-template-topic-image" type="text/x-handlebars-template">
     {{#each hits}}
       <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
        <a href="{{mkws-googleurl md-electronic-url}}" target="_blank">
@@ -51,7 +51,7 @@
       </div>
     {{/each}}
   </script>
-  <script class="mkws-template_topicfacet" type="text/x-handlebars-template">
+  <script class="mkws-template-topic-facet" type="text/x-handlebars-template">
     {{#each terms}}
       <li class="list-group-item mkws-term">
         <span class="badge">{{count}}</span>
@@ -76,7 +76,7 @@
         <ul class="panel-body list-group mkws-facet mkws-team-main"
             autosearch="!param!q"
             data-mkws-facet="subject"
-            data-mkws-config='{ "template": "TopicFacet" }'></ul>
+            data-mkws-config='{ "template": "topic-facet" }'></ul>
       </div></div>
     </div>
     <!-- images -->
@@ -85,8 +85,8 @@
         <div class="panel-heading title">
           <h3 class="panel-title">Images</h3>
         </div>
-        <div class="panel-body mkws-googleimage" autosearch="!param!q"
-             data-mkws-config='{ "maxrecs": 4, "template": "TopicImage", "target": "google_images_js" }'></div>
+        <div class="panel-body mkws-google-image" autosearch="!param!q"
+             data-mkws-config='{ "maxrecs": 4, "template": "topic-image", "target": "google_images_js" }'></div>
       </div></div>
     </div>