GNOME Bugzilla – Bug 637699
JavaScript wizard
Last modified: 2010-12-23 08:57:52 UTC
Created attachment 176796 [details] [review] Add JavaScript wizard to class gen plugin This bug contains a patch which adds a JavaScript wizard to the existing class-gen plugin. The JavaScript class is based on the GJS base template. Current key features: - Adding class methods - Adding class variables - Adding imports - Supports prototypical inheritance. To see how that looks like with GJS, read here [1]. [1] http://git.gnome.org/browse/gjs/tree/doc/Style_Guide.txt It's 100% based on the examples from that document. Adding imports: I'm not sure if adding imports in the wizard is obvious/helpful to users. Maybe it's not really needed. Please, tell me what you think. I started off working from git HEAD, and it should be also compatible to the previous Python wizard commit.
Review of attachment 176796 [details] [review]: Overall coding seems nice but the template file is missing from the patch. Please add it using "git add". Thanks"
Created attachment 176804 [details] [review] Add JavaScript wizard to class gen plugin Added the JavaScript template. Sorry for forgetting that.
Review of attachment 176804 [details] [review]: Looks good! Thanks!