{"action":"opened","issue":{"url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js/issues/120","repository_url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js","labels_url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js/issues/120/comments","events_url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js/issues/120/events","html_url":"https://github.com/ArnaudBuchholz/gpf-js/issues/120","id":196150887,"number":120,"title":"Implement simple class definition","user":{"login":"ArnaudBuchholz","id":4194952,"avatar_url":"https://avatars.githubusercontent.com/u/4194952?v=3","gravatar_id":"","url":"https://api.github.com/users/ArnaudBuchholz","html_url":"https://github.com/ArnaudBuchholz","followers_url":"https://api.github.com/users/ArnaudBuchholz/followers","following_url":"https://api.github.com/users/ArnaudBuchholz/following{/other_user}","gists_url":"https://api.github.com/users/ArnaudBuchholz/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnaudBuchholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnaudBuchholz/subscriptions","organizations_url":"https://api.github.com/users/ArnaudBuchholz/orgs","repos_url":"https://api.github.com/users/ArnaudBuchholz/repos","events_url":"https://api.github.com/users/ArnaudBuchholz/events{/privacy}","received_events_url":"https://api.github.com/users/ArnaudBuchholz/received_events","type":"User","site_admin":false},"labels":[{"id":494503844,"url":"https://api.github.com/repos/ArnaudBuchholz/gpf-js/labels/User%20Story","name":"User Story","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-16T20:46:53Z","updated_at":"2016-12-16T20:46:53Z","closed_at":null,"body":"**As a developer, I want an helper to define a class in order to structure my project**\r\n\r\n*This is the first step to define class inside GPF-JS*\r\n\r\n**Acceptance criteria:**\r\n* The method should be named gpf.define\r\n* The method should accept only one object parameter that contains class members definition as well as some meta properties\r\n* The parent class reference is introduced with extend\r\n* The parent class reference can be either the fully qualified name (string) or the class constructor\r\n* The class name must start with an uppercase letter or the following allowed special characters: _, $\r\n* The fully qualified name will be used to define namespace and class name (for instance gpf.test.Sample)\r\n* The members are all public by default (another story will follow to define visibility)\r\n* Some members names are forbidden: public, private, protected, static, mixin\r\n* Inside a method, the parent method is available through this.super"}}
{"actor":{"display_login":"ArnaudBuchholz"}}