Skip to content

Commit

Permalink
Fix whitespace and description in build_typeSchemaData.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed May 8, 2017
1 parent 12e7046 commit b60fdac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chrome/content/zotero/tools/build_typeSchemaData.html
Expand Up @@ -3,7 +3,7 @@
<title>Build schemaData.js</title>
</head>
<body>
<p>This script builds schemaData.js, which contains Zotero schema information for the connector.</p>
<p>This script builds typeSchemaData.js, which contains Zotero schema information for the connector.</p>
<p id="result"></p>
<script src="../include.js"></script>
<script type="text/javascript">
Expand All @@ -13,7 +13,7 @@
var types = Zotero.ItemTypes.getTypes();

var fieldIDs = yield Zotero.DB.columnQueryAsync("SELECT fieldID FROM fieldsCombined");
var baseMappedFields = Zotero.ItemFields.getBaseMappedFields();
var baseMappedFields = Zotero.ItemFields.getBaseMappedFields();

for (let fieldID of fieldIDs) {
var fieldObj = [/* name */Zotero.ItemFields.getName(fieldID)];
Expand Down Expand Up @@ -70,7 +70,7 @@
}

// Write to file
var nsIFilePicker = Components.interfaces.nsIFilePicker;
var nsIFilePicker = Components.interfaces.nsIFilePicker;
var fp = Components.classes["@mozilla.org/filepicker;1"]
.createInstance(nsIFilePicker);
fp.init(window, Zotero.getString('dataDir.selectDir'), nsIFilePicker.modeGetFolder);
Expand Down

0 comments on commit b60fdac

Please sign in to comment.