Skip to content

Commit

Permalink
Remove superfluous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 11, 2017
1 parent 690d190 commit 1875b1e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';

/* Expose. */
module.exports = isBadge;

/* Expressions. */
var EXPRESSIONS = [
/^https?:\/\/img\.shields\.io/,
/^https?:\/\/(?:(?:www|api|secure)\.)?travis-ci\.org\/.*\.(?:svg|png)(?:\?|$)/,
Expand All @@ -20,7 +18,6 @@ var EXPRESSIONS = [
/^https?:\/\/badges\.gitter\.im(?:\/.+){2}\.(?:svg|png)/
];

/* Constants. */
var length = EXPRESSIONS.length;

/* Check if `url` is a badge. */
Expand Down
2 changes: 0 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
'use strict';

/* Dependencies. */
var test = require('tape');
var isBadge = require('./');

/* Tests. */
test('isBadge(url)', function (t) {
t.throws(
function () {
Expand Down

0 comments on commit 1875b1e

Please sign in to comment.