Skip to content

Commit

Permalink
Merge pull request dashersw#4 from burcu/master
Browse files Browse the repository at this point in the history
Fixing missing @extends annotations
  • Loading branch information
dashersw committed Mar 13, 2012
2 parents b31dadd + 243b77a commit 1a209f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions lib/geneJS/languages/javascript/class.gjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// class

goog.provide('{{name}}');
{{#requires}}
goog.require('{{fullName}}');
Expand All @@ -15,15 +17,17 @@ __#parameters__
* @param {__type__} __paramName__
__/parameters__
*/
__={{ }}=__
{{name}} = function({{#iterator}}{{.}}{{/iterator}}) {
{{/constructors}}

{{^constructors}}
__name__ = function(__#iterator____.____/iterator__) {
__/constructors__
__^constructors__
/**
*
* @constructor
__#inherits__
* @extends {__fullName__}
__/inherits__
*/
__={{ }}=__
{{name}} = function() {
{{/constructors}}
{{#inherits}}
Expand Down
6 changes: 3 additions & 3 deletions lib/geneJS/languages/javascript/entity.gjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
goog.provide('{{name}}.{{className}}');
goog.provide('{{name}}');
{{#requires}}
goog.require('{{fullNamespace}}.{{className}}');
goog.require('{{fullName}}');
{{/requires}}

{{=__ __=}}
/**
*
* @constructor
__#inherits__
* @extends {__inherits__}
* @extends {__fullName__}
__/inherits__
*/
__={{ }}=__
Expand Down

0 comments on commit 1a209f1

Please sign in to comment.