Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Refalo committed Jul 9, 2018
1 parent 85c9457 commit 2ce3511
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions about-dialog.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
//@ts-ignore
//@ts-nocheck
/*global $, app, type, __dirname*/

"use strict";

/*global $, app, type, __dirname*/

const { shell } = require("electron");
const fs = require("fs");
const path = require("path");
Expand Down
8 changes: 3 additions & 5 deletions idl-code-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,8 @@ class IDLCodeGenerator {
* @param {Object} options
*/
writeClass(codeWriter, elem, options, keyword) {
let i,
len,
terms = [];
//, self = this;
let i, len;
const terms = [];

// Doc
this.writeDoc(codeWriter, elem.documentation, options);
Expand Down Expand Up @@ -631,7 +629,7 @@ class IDLCodeGenerator {
*/
writeDoc(codeWriter, text, options) {
let i, len, lines, v;
if (options.gqDoc && typeof text === "string") {
if (options.idlDoc && typeof text === "string") {
lines = text.trim().split("\n");
for (i = 0, len = lines.length; i < len; i++) {
v = lines[i].trim();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "orefalo.staruml-graphql",
"title": "GraphQL extension for StarUML",
"version": "3.0.0",
"version": "3.0.1",
"description": "GraphQL IDL schema generation for StarUML",
"homepage": "https://github.com/orefalo/staruml3-graphql",
"issues": "https://github.com/orefalo/staruml3-graphql/issues",
Expand Down

0 comments on commit 2ce3511

Please sign in to comment.