{"action":"created","issue":{"url":"https://api.github.com/repos/DDorch/jacase/issues/12","repository_url":"https://api.github.com/repos/DDorch/jacase","labels_url":"https://api.github.com/repos/DDorch/jacase/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/DDorch/jacase/issues/12/comments","events_url":"https://api.github.com/repos/DDorch/jacase/issues/12/events","html_url":"https://github.com/DDorch/jacase/issues/12","id":167802549,"number":12,"title":"Les codes de génération du graphique ne sont pas dans la classe Formulaire","user":{"login":"DDorch","id":14124454,"avatar_url":"https://avatars.githubusercontent.com/u/14124454?v=3","gravatar_id":"","url":"https://api.github.com/users/DDorch","html_url":"https://github.com/DDorch","followers_url":"https://api.github.com/users/DDorch/followers","following_url":"https://api.github.com/users/DDorch/following{/other_user}","gists_url":"https://api.github.com/users/DDorch/gists{/gist_id}","starred_url":"https://api.github.com/users/DDorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDorch/subscriptions","organizations_url":"https://api.github.com/users/DDorch/orgs","repos_url":"https://api.github.com/users/DDorch/repos","events_url":"https://api.github.com/users/DDorch/events{/privacy}","received_events_url":"https://api.github.com/users/DDorch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"manalaf","id":20300421,"avatar_url":"https://avatars.githubusercontent.com/u/20300421?v=3","gravatar_id":"","url":"https://api.github.com/users/manalaf","html_url":"https://github.com/manalaf","followers_url":"https://api.github.com/users/manalaf/followers","following_url":"https://api.github.com/users/manalaf/following{/other_user}","gists_url":"https://api.github.com/users/manalaf/gists{/gist_id}","starred_url":"https://api.github.com/users/manalaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manalaf/subscriptions","organizations_url":"https://api.github.com/users/manalaf/orgs","repos_url":"https://api.github.com/users/manalaf/repos","events_url":"https://api.github.com/users/manalaf/events{/privacy}","received_events_url":"https://api.github.com/users/manalaf/received_events","type":"User","site_admin":false},"assignees":[{"login":"manalaf","id":20300421,"avatar_url":"https://avatars.githubusercontent.com/u/20300421?v=3","gravatar_id":"","url":"https://api.github.com/users/manalaf","html_url":"https://github.com/manalaf","followers_url":"https://api.github.com/users/manalaf/followers","following_url":"https://api.github.com/users/manalaf/following{/other_user}","gists_url":"https://api.github.com/users/manalaf/gists{/gist_id}","starred_url":"https://api.github.com/users/manalaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manalaf/subscriptions","organizations_url":"https://api.github.com/users/manalaf/orgs","repos_url":"https://api.github.com/users/manalaf/repos","events_url":"https://api.github.com/users/manalaf/events{/privacy}","received_events_url":"https://api.github.com/users/manalaf/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DDorch/jacase/milestones/1","html_url":"https://github.com/DDorch/jacase/milestones/Loi%20de%20perte%20de%20charge%20dans%20une%20conduite%20distributrice","labels_url":"https://api.github.com/repos/DDorch/jacase/milestones/1/labels","id":1865132,"number":1,"title":"Loi de perte de charge dans une conduite distributrice","description":"Première version du framework avec comme calculette implémentée : \"Loi de perte de charge dans une conduite distributrice\"\r\n\r\nCette version comprend : \r\n* La génération du formulaire avec la possibilité de choisir la variable à calculer et une variable à faire varier\r\n* L'affichage du résultat sous forme de tableau et de graphique\r\n* L'internationalisation du formulaire","creator":{"login":"DDorch","id":14124454,"avatar_url":"https://avatars.githubusercontent.com/u/14124454?v=3","gravatar_id":"","url":"https://api.github.com/users/DDorch","html_url":"https://github.com/DDorch","followers_url":"https://api.github.com/users/DDorch/followers","following_url":"https://api.github.com/users/DDorch/following{/other_user}","gists_url":"https://api.github.com/users/DDorch/gists{/gist_id}","starred_url":"https://api.github.com/users/DDorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDorch/subscriptions","organizations_url":"https://api.github.com/users/DDorch/orgs","repos_url":"https://api.github.com/users/DDorch/repos","events_url":"https://api.github.com/users/DDorch/events{/privacy}","received_events_url":"https://api.github.com/users/DDorch/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2016-07-05T14:24:38Z","updated_at":"2016-07-28T08:00:14Z","due_on":"2016-07-14T22:00:00Z","closed_at":null},"comments":4,"created_at":"2016-07-27T08:48:08Z","updated_at":"2016-07-31T08:44:34Z","closed_at":null,"body":"La méthode `calculer ` de la classe `FormCondDistri` contient le code générant le graphique. Ce code, valable quelque soit la calculette devrait se trouver dans la classe `Formulaire`.\r\n\r\nEn fait, il ne devrait pas y avoir du tout de méthode `calculer `dans la classe `FormCondDistri`. Je propose de modifier un peu la sémantique afin d'avoir quelque chose de générique et non redondant.\r\n\r\nDans la classe `Formulaire`, il faut une méthode `getResult`qui sera appelée à partir du bouton du formulaire. Cette méthode se chargera de mettre en forme les données d'entrée en appelant `this.initV` et lancera le calcul en appelant la méthode `this.calculate` dans la classe Formulaire cette méthode sera déclarée avec un code vide ou minimaliste (ex : `return null`) et elle sera redéfinie dans `FormCondDistri` avec l'actuel code de la méthode `calCondDistri`."},"comment":{"url":"https://api.github.com/repos/DDorch/jacase/issues/comments/236418499","html_url":"https://github.com/DDorch/jacase/issues/12#issuecomment-236418499","issue_url":"https://api.github.com/repos/DDorch/jacase/issues/12","id":236418499,"user":{"login":"DDorch","id":14124454,"avatar_url":"https://avatars.githubusercontent.com/u/14124454?v=3","gravatar_id":"","url":"https://api.github.com/users/DDorch","html_url":"https://github.com/DDorch","followers_url":"https://api.github.com/users/DDorch/followers","following_url":"https://api.github.com/users/DDorch/following{/other_user}","gists_url":"https://api.github.com/users/DDorch/gists{/gist_id}","starred_url":"https://api.github.com/users/DDorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDorch/subscriptions","organizations_url":"https://api.github.com/users/DDorch/orgs","repos_url":"https://api.github.com/users/DDorch/repos","events_url":"https://api.github.com/users/DDorch/events{/privacy}","received_events_url":"https://api.github.com/users/DDorch/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T08:44:34Z","updated_at":"2016-07-31T08:44:34Z","body":"Sauf que le nom du selector reste toujours le même quelque soit la calculette choisie. Je propose qu'on appelle le selector `<jacase>`, ça évitera toute confusion."}}
{"actor":{"display_login":"DDorch"}}