Changeset - 42656c3b31f4
[Not reviewed]
default
0 2 0
Drew Perttula - 10 years ago 2015-06-08 08:00:47
drewp@bigasterisk.com
update jquery-ui, remove rdflib bnode workaround
Ignore-this: 35d5df34035655aa0f4f0ebdde7b78ce
2 files changed with 5 insertions and 27 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/index.html
Show inline comments
 
@@ -3,14 +3,14 @@
 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" 
 
      xmlns:py="http://genshi.edgewall.org/">
 
  <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>
 
    <h1>ascoltami on ${host}</h1>
 
    <div class="songs"/>
 

	
 
@@ -46,13 +46,12 @@
 
      <button id="cmd-out0">Output 0</button>
 
      <button id="cmd-out1">Output 1</button>
 
    </div>
 
    
 
    <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">
 
// <![CDATA[
 
$(function () {
 

	
light9/showconfig.py
Show inline comments
 
@@ -55,36 +55,15 @@ def songFilenameFromURI(uri):
 
    return uri.split('/')[-1]
 

	
 
def getSongsFromShow(graph, show):
 
    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
 

	
 
def curvesDir():
 
    return path.join(root(),"curves")
 

	
0 comments (0 inline, 0 general)