Skip to content

Commit a227e47

Browse files
committed
Summary: Fix some missing semicolons and extraneous commas
- Legacy-Id: 8702
1 parent 0f81e1c commit a227e47

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

static/facelift/js/ietf.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ $(document).ready(function () {
145145
if ($(e).attr(v)) {
146146
$(e).attr(v, $(e).attr(v).replace(n-1, n));
147147
}
148-
})
148+
});
149149
});
150150

151151
t = t.replace(n, n+1);
@@ -212,7 +212,7 @@ $(".tokenized-form").submit(function (e) {
212212
var format = f.data("format");
213213
var t = f.tokenfield("getTokens");
214214

215-
var v = $.map(t, function(o) { return o["value"]; })
215+
var v = $.map(t, function(o) { return o["value"]; });
216216
if (format === "json") {
217217
v = JSON.stringify(v);
218218
} else if (format === "csv") {
@@ -253,7 +253,7 @@ $(".tokenized-field").each(function () {
253253
display = "name";
254254
}
255255
console.log(io, "display", display);
256-
$(this).data("display", display)
256+
$(this).data("display", display);
257257

258258
// which field of the JSON are we supposed to return
259259
var result = $(this).data("result");
@@ -299,7 +299,7 @@ $(".tokenized-field").each(function () {
299299
if (url.indexOf("?") === -1) {
300300
url += "?q=";
301301
}
302-
$(this).data("ajax-url", url)
302+
$(this).data("ajax-url", url);
303303
console.log(io, "ajax-url", url);
304304

305305
var bh = new Bloodhound({
@@ -326,10 +326,10 @@ $(".tokenized-field").each(function () {
326326
typeahead: [{
327327
highlight: true,
328328
minLength: 3,
329-
hint: true,
329+
hint: true
330330
}, {
331331
source: bh.ttAdapter(),
332-
displayKey: "label",
332+
displayKey: "label"
333333
}],
334334
beautify: true,
335335
delimiter: [',', ';']

0 commit comments

Comments
 (0)