Giter Site home page Giter Site logo

samotraces.js's People

Contributors

bmathern avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

samotraces.js's Issues

Problème de récupération des obsels (list_obsels)

Lors de l'appel de list_obsels() sur un objet de type Samotraces.KTBS.Trace (uri), la requête pour récupérer les obsels échoue. Il essaye de récupérer des obsels sur l'uri localhost/@obsels au lieu d'utiliser l'uri de la trace (+ @obsels). En regardant les attributs de mon objet (trace), je m'aperçois que obsels_list_uri = "@obsels"

Voici mon code :
var trace = new Samotraces.KTBS.Trace("http://localhost:8001/base1/t01/");
trace.list_obsels(); // ici cela échoue
De même pour l'utilisation Samotraces.UI.Widgets.TraceDisplayIcons qui utilise aussi list_obsels(), je ne peux pas afficher les obsels.

Pour pouvoir récupérer les obsels, j'ai modifié le code pour qu'il ajoute l'uri de la trace avant le @Obsel au lieu d'utiliser le chemin:
list_obsels: function(begin,end,reverse) {
this.obsel_list_uri = this.uri + this.obsel_list_uri; // ajouté
if(this.obsel_list_uri === "") {
console.log("Error in KTBS:Trace:list_obsels() unknown uri");
return false;
}
etc...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.