Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
fix #747
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 1, 2017
1 parent 85255cf commit ce97268
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/js/matrix.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*******************************************************************************
µMatrix - a Chromium browser extension to black/white list requests.
Copyright (C) 2014 Raymond Hill
uMatrix - a Chromium browser extension to black/white list requests.
Copyright (C) 2014-2017 Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -19,15 +19,15 @@
Home: https://github.com/gorhill/uMatrix
*/

/* global punycode, µMatrix */
/* global punycode */
/* jshint bitwise: false */

'use strict';

/******************************************************************************/

µMatrix.Matrix = (function() {

'use strict';

/******************************************************************************/

var µm = µMatrix;
Expand Down Expand Up @@ -768,8 +768,7 @@ Matrix.prototype.fromString = function(text, append) {
}

// Unknown directive
pos = fieldVal.indexOf(':');
if ( pos !== -1 ) {
if ( fieldVal.endsWith(':') ) {
continue;
}

Expand Down

0 comments on commit ce97268

Please sign in to comment.