changeset 1224:42656c3b31f4

update jquery-ui, remove rdflib bnode workaround Ignore-this: 35d5df34035655aa0f4f0ebdde7b78ce
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 08 Jun 2015 08:00:47 +0000
parents 5c0ba2141be9
children 70f42f9d6e04
files light9/ascoltami/index.html light9/showconfig.py
diffstat 2 files changed, 5 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/light9/ascoltami/index.html	Mon Jun 08 08:00:19 2015 +0000
+++ b/light9/ascoltami/index.html	Mon Jun 08 08:00:47 2015 +0000
@@ -6,8 +6,8 @@
   <head>
     <title>ascoltami on ${host}</title>
     <script type="text/javascript" src="/lib/jquery-2.1.1.min.js"></script>
-    <script type="text/javascript" src="/lib/jquery-ui-1.8.2.custom/js/jquery-ui-1.8.2.custom.min.js"></script>
-    <link rel="Stylesheet" type="text/css" href="/lib/jquery-ui-1.8.2.custom/css/smoothness/jquery-ui-1.8.2.custom.css"/>
+    <script type="text/javascript" src="/lib/jquery-ui-1.11.4/jquery-ui.min.js"></script>
+    <link rel="Stylesheet" type="text/css" href="/lib/jquery-ui-1.11.4/themes/smoothness/jquery-ui.min.css"/>
     <link rel="Stylesheet" type="text/css" href="/style.css"/>
   </head>
   <body>
@@ -49,7 +49,6 @@
     
     <p>Running on <span id="nav"/></p>
     todo: display next action
-    <p><button onclick="window.open('/', '_blank', 'scrollbars=1,resizable=1,titlebar=0,location=0')">reopen this in a simpler window</button></p>
     <p><a href="">reload</a></p>
 
 <script type="text/javascript">
--- a/light9/showconfig.py	Mon Jun 08 08:00:19 2015 +0000
+++ b/light9/showconfig.py	Mon Jun 08 08:00:47 2015 +0000
@@ -58,30 +58,9 @@
     playList = graph.value(show, L9['playList'])
     if not playList:
         raise ValueError("%r has no l9:playList" % show)
-    songs = [
-        # this was graph.items(playlistUri) but i was getting other
-        # items from a totally different list! seems like bnode
-        # corruption.
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song1"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song2"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song3"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song4"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song5"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song6"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song7"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song8"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song9"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song10"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song11"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song12"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song13"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song14"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song15"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song16"),
-        URIRef("http://light9.bigasterisk.com/show/dance2014/song17"),
-    ]
-    # probably fixed with the patch in https://github.com/RDFLib/rdflib/issues/305
-    #songs = list(graph.items(playList))
+    # The patch in https://github.com/RDFLib/rdflib/issues/305 fixed a
+    # serious bug here.
+    songs = list(graph.items(playList))
 
     return songs