Browse Source

this should help futur occurrences of #65

pull/2/head
Raymond Hill 10 years ago
parent
commit
cf02253cdd
  1. 6
      src/js/matrix.js

6
src/js/matrix.js

@ -359,6 +359,12 @@ Matrix.prototype.evaluateCell = function(srcHostname, desHostname, type) {
/******************************************************************************/ /******************************************************************************/
Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) { Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) {
// https://github.com/gorhill/uMatrix/issues/65
// Hardcoded `doc` rule
if ( srcHostname === '*' && desHostname === '*' && type === 'doc' ) {
return 2;
}
var bitOffset = typeBitOffsets[type]; var bitOffset = typeBitOffsets[type];
var s = srcHostname; var s = srcHostname;
var v; var v;

Loading…
Cancel
Save