client/test/test-writable-simple-empty.html
author rougeronj
Wed, 16 Sep 2015 17:36:46 +0200
changeset 524 904effa4b6d7
parent 471 e0c7be5dc02c
permissions -rw-r--r--
improve view management: - we can pass a negative view index, in this case we count from the end of the list of view - before creating/changing the view representation, we remove the previous one and reinitialize the node visibility - each time we save a view, it creates a new one at the end of the list - "restore" view loads the last view of the list

<!DOCTYPE html>
<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>Test de Rendu RENKAN</title>
        <meta name="description" content="" />
        <meta name="author" content="Institut de Recherche et d'Innovation" />
        <script src="../lib/jquery/jquery.js"></script>
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
        <script src="../lib/lodash/lodash.js"></script>
        <script src="../lib/backbone/backbone.js"></script>
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
        <script src="../lib/paper/paper-full.js"></script>
        <script src="../js/main.js"></script>
        <script src="../js/dataloader.js"></script>
        <script src="../js/router.js"></script>
        <script src="../js/models.js"></script>
        <script src="../js/defaults.js"></script>
        <script src="../js/i18n.js"></script>
        <script src="../dist/js/templates.js"></script>
        <script src="../js/full-json.js"></script>
        <script src="../js/ldtjson-bin.js"></script>
        <script src="../js/list-bin.js"></script>
        <script src="../js/wikipedia-bin.js"></script>
        <script data-main="../js/main-renderer" src="../lib/requirejs/require.js"></script>
        <script type="text/javascript">
            function startRenkan(){
            	var _renkan = new Rkns.Renkan({
                    /*property_files: [ "data/properties.json" ],
                    user_id: "u-iri",
                    language: "fr",
                    node_fill_color: false*/
                	show_bins: false,
                    static_url: "../"
                });
//                Rkns.jsonIO(_renkan, {
//                    url: "/simple-persist"
//                });
            };
        </script>
        <link rel="stylesheet" href="../css/renkan.css" />
    </head>

    <body>
        <div id="renkan"></div>
    </body>
</html>