{"action":"created","issue":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/190","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/190/comments","events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/190/events","html_url":"https://github.com/jekkos/opensourcepos/issues/190","id":109793685,"number":190,"title":"how to add a jquery plugin and how to minimise js?","user":{"login":"daN4cat","id":636048,"avatar_url":"https://avatars.githubusercontent.com/u/636048?v=3","gravatar_id":"","url":"https://api.github.com/users/daN4cat","html_url":"https://github.com/daN4cat","followers_url":"https://api.github.com/users/daN4cat/followers","following_url":"https://api.github.com/users/daN4cat/following{/other_user}","gists_url":"https://api.github.com/users/daN4cat/gists{/gist_id}","starred_url":"https://api.github.com/users/daN4cat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daN4cat/subscriptions","organizations_url":"https://api.github.com/users/daN4cat/orgs","repos_url":"https://api.github.com/users/daN4cat/repos","events_url":"https://api.github.com/users/daN4cat/events{/privacy}","received_events_url":"https://api.github.com/users/daN4cat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekkos/opensourcepos/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-05T13:15:53Z","updated_at":"2015-10-15T08:29:50Z","closed_at":null,"body":"I wanted to try a different date time jquery plugin (even to solve the sale edit issue) and although I replaced all the references in the required places (e.g. header.php) I found that if I don't add the ?debug=true the minified version of js is sent over (obviously).\r\n\r\nI tried to add the jquery plug in code to opensourcepos.js and then used a webtool to create a min version. However I don't seem to succeed and get a js error.\r\n\r\nJekkos, would you mind to describe what's the correct approach to add a jquery plugin and how to get a correct min.js?"},"comment":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/comments/148316738","html_url":"https://github.com/jekkos/opensourcepos/issues/190#issuecomment-148316738","issue_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/190","id":148316738,"user":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T08:29:49Z","updated_at":"2015-10-15T08:29:49Z","body":"Yes indeed, it brings good opportunities to learn a bit beside the things you do in your daytime job.. Next thing I'd like to add is a DockerFile for ospos, which would ease the setup a lot. It would install a lamp stack automatically, configure the db and setup CI with the correct php / mysql configs so people can test the project without any hassle. Cool thing is that the travis ci setup does somethingsimilar, except that it's not containerized yet. As they moved to docker as well this config could be reused to run integration tests on the project."}}