client/js/ldtjson-bin.js
changeset 114 110f99eb417e
parent 113 fac7354c55d2
child 132 860340d4c645
--- a/client/js/ldtjson-bin.js	Tue Mar 26 16:14:19 2013 +0100
+++ b/client/js/ldtjson-bin.js	Tue Mar 26 19:12:05 2013 +0100
@@ -76,7 +76,7 @@
             title: _title,
             htitle: highlight(_title),
             encodedtitle : encodeURIComponent(_title),
-            static_url: _this.renkan.static_url
+            static_url: _this.renkan.options.static_url
         })
     });
     _html += '<li><h3>Annotations</h3></li>';
@@ -91,7 +91,7 @@
             _img = (
                 (_annotation.content && _annotation.content.img && _annotation.content.img.src)
                 ? _annotation.content.img.src
-                : ( _duration ? _this.renkan.static_url+"img/ldt-segment.png" : _this.renkan.static_url+"img/ldt-point.png" )
+                : ( _duration ? _this.renkan.options.static_url+"img/ldt-segment.png" : _this.renkan.options.static_url+"img/ldt-point.png" )
             );
         _html += _this.annotationTemplate({
             ldt_platform: _this.ldt_platform,
@@ -105,7 +105,7 @@
             mediaid: _annotation.media,
             annotationid: _annotation.id,
             image: _img,
-            static_url: _this.renkan.static_url
+            static_url: _this.renkan.options.static_url
         });
     });
     
@@ -220,8 +220,8 @@
             _end = + _segment.duration + _begin
             _img = (
                 _duration
-                ? _this.renkan.static_url + "img/ldt-segment.png"
-                : _this.renkan.static_url + "img/ldt-point.png"
+                ? _this.renkan.options.static_url + "img/ldt-segment.png"
+                : _this.renkan.options.static_url + "img/ldt-point.png"
             );
         _html += _this.segmentTemplate({
             ldt_platform: _this.ldt_platform,