{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13400","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13400/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13400/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13400/events","html_url":"https://github.com/ariya/phantomjs/issues/13400","id":94570167,"number":13400,"title":"Help with PhantomJS","user":{"login":"Culvanen","id":12481447,"avatar_url":"https://avatars.githubusercontent.com/u/12481447?v=3","gravatar_id":"","url":"https://api.github.com/users/Culvanen","html_url":"https://github.com/Culvanen","followers_url":"https://api.github.com/users/Culvanen/followers","following_url":"https://api.github.com/users/Culvanen/following{/other_user}","gists_url":"https://api.github.com/users/Culvanen/gists{/gist_id}","starred_url":"https://api.github.com/users/Culvanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Culvanen/subscriptions","organizations_url":"https://api.github.com/users/Culvanen/orgs","repos_url":"https://api.github.com/users/Culvanen/repos","events_url":"https://api.github.com/users/Culvanen/events{/privacy}","received_events_url":"https://api.github.com/users/Culvanen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T14:40:48Z","updated_at":"2015-07-21T13:09:42Z","closed_at":null,"body":"I would use a while loop () but my code is not working. Can you help me?\r\n\r\nconsole.log('Initialisation des variables ...');\r\nvar NombreSaison = 8;\r\nvar NombreEpisode = 23;\r\nvar saisonActuel = 1;\r\nvar episodeActuel = 1;\r\n\r\nconsole.log('Chargement page');\r\nvar page = require('webpage').create();\r\nwhile(episodeActuel >= NombreEpisode) \r\n{\r\n\t\r\n\tepisodeActuel++;\r\n}\r\nphantom.exit();\r\n\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/123299197","html_url":"https://github.com/ariya/phantomjs/issues/13400#issuecomment-123299197","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/13400","id":123299197,"user":{"login":"Maskime","id":1134320,"avatar_url":"https://avatars.githubusercontent.com/u/1134320?v=3","gravatar_id":"","url":"https://api.github.com/users/Maskime","html_url":"https://github.com/Maskime","followers_url":"https://api.github.com/users/Maskime/followers","following_url":"https://api.github.com/users/Maskime/following{/other_user}","gists_url":"https://api.github.com/users/Maskime/gists{/gist_id}","starred_url":"https://api.github.com/users/Maskime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maskime/subscriptions","organizations_url":"https://api.github.com/users/Maskime/orgs","repos_url":"https://api.github.com/users/Maskime/repos","events_url":"https://api.github.com/users/Maskime/events{/privacy}","received_events_url":"https://api.github.com/users/Maskime/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T13:09:42Z","updated_at":"2015-07-21T13:09:42Z","body":"GoTo Stackoverflow.com I suggest you give a bit more details than \"It's not working\"\r\n-> Is there an error ?\r\n-> What is happening ?\r\n-> What were you expecting from it ?"}}