Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit 2f8133a

Browse files
committed
Linting
1 parent d9f4e76 commit 2f8133a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

plugin/angular.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@
256256
var m;
257257
if (m = path.match(/^!ng\.([^\.]+)\._inject_([^\.]+)^/)) {
258258
var mod = mods[m[1].replace(/`/g, ".")];
259-
console.log(mod.injector.fields, m[2]);
260259
var field = mod.injector.fields[m[2]];
261260
var data = state.types[path];
262261
if (field.span) data.span = field.span;

plugin/doc_comment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"use strict";
1414

1515
var WG_MADEUP = 1, WG_STRONG = 101;
16-
16+
1717
tern.registerPlugin("doc_comment", function(server, options) {
1818
server.jsdocTypedefs = Object.create(null);
1919
server.on("reset", function() {
@@ -109,7 +109,7 @@
109109
result = result.trim().replace(/\s*\n\s*\*\s*|\s{1,}/g, " ");
110110
}
111111
result = result.replace(/^\s*\*+\s*/, "");
112-
112+
113113
if (aval instanceof infer.AVal) aval.doc = result;
114114
if (type) type.doc = result;
115115
}

plugin/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
return scope;
4343
}
4444

45-
function resolveModule(server, name, parent) {
45+
function resolveModule(server, name, _parent) {
4646
server.addFile(name, null, server._node.currentOrigin);
4747
return getModule(server._node, name);
4848
}

0 commit comments

Comments
 (0)