{"action":"created","issue":{"url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/84","repository_url":"https://api.github.com/repos/italia/ita-web-toolkit","labels_url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/84/comments","events_url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/84/events","html_url":"https://github.com/italia/ita-web-toolkit/issues/84","id":232880436,"number":84,"title":"Abbiamo ancora bisogno di jQuery?","user":{"login":"LucaColonnello","id":536973,"avatar_url":"https://avatars1.githubusercontent.com/u/536973?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaColonnello","html_url":"https://github.com/LucaColonnello","followers_url":"https://api.github.com/users/LucaColonnello/followers","following_url":"https://api.github.com/users/LucaColonnello/following{/other_user}","gists_url":"https://api.github.com/users/LucaColonnello/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaColonnello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaColonnello/subscriptions","organizations_url":"https://api.github.com/users/LucaColonnello/orgs","repos_url":"https://api.github.com/users/LucaColonnello/repos","events_url":"https://api.github.com/users/LucaColonnello/events{/privacy}","received_events_url":"https://api.github.com/users/LucaColonnello/received_events","type":"User","site_admin":false},"labels":[{"id":455713937,"url":"https://api.github.com/repos/italia/ita-web-toolkit/labels/priorita:bassa","name":"priorita:bassa","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"gunzip","id":148224,"avatar_url":"https://avatars1.githubusercontent.com/u/148224?v=3","gravatar_id":"","url":"https://api.github.com/users/gunzip","html_url":"https://github.com/gunzip","followers_url":"https://api.github.com/users/gunzip/followers","following_url":"https://api.github.com/users/gunzip/following{/other_user}","gists_url":"https://api.github.com/users/gunzip/gists{/gist_id}","starred_url":"https://api.github.com/users/gunzip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunzip/subscriptions","organizations_url":"https://api.github.com/users/gunzip/orgs","repos_url":"https://api.github.com/users/gunzip/repos","events_url":"https://api.github.com/users/gunzip/events{/privacy}","received_events_url":"https://api.github.com/users/gunzip/received_events","type":"User","site_admin":false},"assignees":[{"login":"gunzip","id":148224,"avatar_url":"https://avatars1.githubusercontent.com/u/148224?v=3","gravatar_id":"","url":"https://api.github.com/users/gunzip","html_url":"https://github.com/gunzip","followers_url":"https://api.github.com/users/gunzip/followers","following_url":"https://api.github.com/users/gunzip/following{/other_user}","gists_url":"https://api.github.com/users/gunzip/gists{/gist_id}","starred_url":"https://api.github.com/users/gunzip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunzip/subscriptions","organizations_url":"https://api.github.com/users/gunzip/orgs","repos_url":"https://api.github.com/users/gunzip/repos","events_url":"https://api.github.com/users/gunzip/events{/privacy}","received_events_url":"https://api.github.com/users/gunzip/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2017-06-01T13:32:42Z","updated_at":"2017-06-05T13:49:44Z","closed_at":null,"body":"Vorrei chiedere come mai abbiamo bisogno di jQuery?\r\n\r\nEssendo un sito Italiano legato alla PMA dovrebbe essere di esempio, e credo che ad oggi jQuery sia una tecnologia datata, almeno sostituibile facilmente con le DOM API se proprio bisogna scegliere un pattern imperativo e non dichiarativo.\r\n\r\nC'è possibilità di uscire da questo pattern e essere di esempio per altri portali e siti web nella realtà tecnologica italiana, o ci sono motivazioni pratiche per cui non è possibile?\r\n"},"comment":{"url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/comments/306192078","html_url":"https://github.com/italia/ita-web-toolkit/issues/84#issuecomment-306192078","issue_url":"https://api.github.com/repos/italia/ita-web-toolkit/issues/84","id":306192078,"user":{"login":"gunzip","id":148224,"avatar_url":"https://avatars1.githubusercontent.com/u/148224?v=3","gravatar_id":"","url":"https://api.github.com/users/gunzip","html_url":"https://github.com/gunzip","followers_url":"https://api.github.com/users/gunzip/followers","following_url":"https://api.github.com/users/gunzip/following{/other_user}","gists_url":"https://api.github.com/users/gunzip/gists{/gist_id}","starred_url":"https://api.github.com/users/gunzip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunzip/subscriptions","organizations_url":"https://api.github.com/users/gunzip/orgs","repos_url":"https://api.github.com/users/gunzip/repos","events_url":"https://api.github.com/users/gunzip/events{/privacy}","received_events_url":"https://api.github.com/users/gunzip/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T13:49:44Z","updated_at":"2017-06-05T13:49:44Z","body":"scusa @equinusocio ho elminato un commento per errore. ti riporto qui la risposta:\r\n\r\n\r\n> Poi\r\n\r\n>  io sono convinto che scrivere:\r\n\r\n> ```html\r\n> <my-button></my-button>\r\n> ```\r\n> \r\n> DOve il css è:\r\n> ```css\r\n> :host {\r\n>   display: inline-block;\r\n>   contain: content;\r\n>   background-color: green;\r\n> }\r\n> \r\n> .Text {\r\n>   color: color(green lightness(80%));\r\n> }\r\n> ```\r\n> \r\n> sia più facile di scrivere 4 classi (per quanto BEM sia una metodologia molto efficace in un contesto globale):\r\n> \r\n> ```html\r\n> <button type=\"button\" class=\"Button Button--default Button--shadow u-text-r-xs\">\r\n>   Button default shadow\r\n> </button>\r\n> ```\r\n> \r\n> O no?\r\n\r\nè più facile solo se tutti i `<my-button>` hanno lo stesso colore per lo sfondo e il testo (Button--default), se hanno la stessa ombreggiatura (Button--shadow) e la stessa dimensione per il testo (u-text-r-xs). "}}
{"actor":{"display_login":"gunzip"}}