--- a/client/test/test-writable-bins-div-100.html Tue Apr 29 23:53:13 2014 +0200
+++ b/client/test/test-writable-bins-div-100.html Mon May 05 17:43:37 2014 +0200
@@ -21,59 +21,59 @@
<script src="../js/list-bin.js"></script>
<script src="../js/ldtjson-bin.js"></script>
<script src="../js/wikipedia-bin.js"></script>
- <script src="../js/paper-renderer.js"></script>
- <script type="text/javascript">
- $(function() {
- var _renkan = new Rkns.Renkan({
- search: [
- {
- type: "Ldt"
- },
- {
- type: "Wikipedia",
- lang: "fr"
- },
- {
- type: "Wikipedia",
- lang: "ja"
- }
- ],
- bins: [
- {
- title: "Projet Lignes de Temps",
- type: "Ldt",
- ldt_type: "Project",
- project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
- ldt_platform: "http://ldt.iri.centrepompidou.fr/"
- },
- {
- type: "ResourceList",
- title: "Ressources",
- list: [
- {
- url: "http://www.google.com/",
- title: "Google",
- description: "Search engine",
- image: "http://www.google.fr/images/srpr/logo4w.png"
- },
- "Polemic Tweet http://www.polemictweet.com",
- "Twitter http://www.twitter.com/"
- ]
- }
- ],
- /*property_files: [ "data/properties.json" ],
- node_fill_color: false*/
- language: "fr",
- drop_enhancer: function(newNode, _data){
- newNode.title = "Prefix : " + newNode.title;
- return newNode;
- }
- });
- Rkns.jsonIO(_renkan, {
- url: "../data/simple-persist.php"
- });
- });
- </script>
+ <script data-main="../js/build-renderer.js" src="../lib/require.js"></script>
+ <script type="text/javascript">
+ function startRenkan(){
+ var _renkan = new Rkns.Renkan({
+ search: [
+ {
+ type: "Ldt"
+ },
+ {
+ type: "Wikipedia",
+ lang: "fr"
+ },
+ {
+ type: "Wikipedia",
+ lang: "ja"
+ }
+ ],
+ bins: [
+ {
+ title: "Projet Lignes de Temps",
+ type: "Ldt",
+ ldt_type: "Project",
+ project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
+ ldt_platform: "http://ldt.iri.centrepompidou.fr/"
+ },
+ {
+ type: "ResourceList",
+ title: "Ressources",
+ list: [
+ {
+ url: "http://www.google.com/",
+ title: "Google",
+ description: "Search engine",
+ image: "http://www.google.fr/images/srpr/logo4w.png"
+ },
+ "Polemic Tweet http://www.polemictweet.com",
+ "Twitter http://www.twitter.com/"
+ ]
+ }
+ ],
+ /*property_files: [ "data/properties.json" ],
+ node_fill_color: false*/
+ language: "fr",
+ drop_enhancer: function(newNode, _data){
+ newNode.title = "Prefix : " + newNode.title;
+ return newNode;
+ }
+ });
+ Rkns.jsonIO(_renkan, {
+ url: "../data/simple-persist.php"
+ });
+ };
+ </script>
<link rel="stylesheet" href="../css/renkan.css" />
<style type="text/css">
html { height: 100%; }