File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
generate/templates/templates Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ require("./enums");
7070{ % each . as idef % }
7171 { % if idef . type != "enum" % }
7272 { % each idef . functions as fn % }
73-
7473 { % if fn . useAsOnRootProto % }
74+
7575 // Inherit directly from the original {{idef.jsClassName}} object.
7676 _ { { idef . jsClassName } } . { { fn . jsFunctionName } } . __proto__ =
7777 _ { { idef . jsClassName } } ;
@@ -83,6 +83,7 @@ require("./enums");
8383 // Assign the function as the root
8484 rawApi . { { idef . jsClassName } } =
8585 _ { { idef . jsClassName } } . { { fn . jsFunctionName } } ;
86+
8687 { % endif % }
8788 { % endeach % }
8889 { % endif % }
Original file line number Diff line number Diff line change @@ -87,4 +87,6 @@ var StatusFile = function(args) {
8787 } ;
8888} ;
8989
90+ NodeGit . StatusFile = StatusFile ;
91+
9092module . exports = StatusFile ;
You can’t perform that action at this time.
0 commit comments