Remove erroneous mkws-template_underscore and fix demos. MKWS-294
[mkws-moved-to-github.git] / examples / htdocs / lolcat.html
index 89c6790..727fdd7 100644 (file)
@@ -4,20 +4,20 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: LOLcat demo</title>
-    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
     <script type="text/javascript">mkws_config = { perpage_default: 1 }</script>
-    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
-    <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
+    <script class="mkws-template-summary" type="text/x-handlebars-template">
       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
-        {{#first md-thumburl}}
+        {{#mkws-first md-thumburl}}
          <img src="{{this}}" alt="{{../md-title}}"/>
-        {{/first}}
+        {{/mkws-first}}
        <br/>
       </a>
     </script>
   </head>
   <body>
-    <div class='mkwsRecords' autosearch='cat' sort='date:0'
+    <div class='mkws-records' autosearch='cat' sort='date:0'
        targets='pz:id=localhost:9003/flickr_api'
        >kitteh will appear here</div>
   </body>