mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-03 02:44:57 +12:00
doc is hardcoded now
This commit is contained in:
parent
bf5b6c4517
commit
a31351c6f9
|
@ -32,7 +32,6 @@
|
|||
µm.pMatrix.setSwitch('matrix-off', µm.behindTheSceneScope, 1);
|
||||
µm.pMatrix.setSwitch('matrix-off', 'opera-scheme', 1);
|
||||
µm.pMatrix.setCell('*', '*', '*', µm.Matrix.Red);
|
||||
µm.pMatrix.setCell('*', '*', 'doc', µm.Matrix.Green);
|
||||
µm.pMatrix.setCell('*', '*', 'css', µm.Matrix.Green);
|
||||
µm.pMatrix.setCell('*', '*', 'image', µm.Matrix.Green);
|
||||
µm.pMatrix.setCell('*', '*', 'frame', µm.Matrix.Red);
|
||||
|
|
|
@ -91,12 +91,6 @@
|
|||
var onLoaded = function(bin) {
|
||||
if ( bin.hasOwnProperty('userMatrix') ) {
|
||||
µm.pMatrix.fromString(bin.userMatrix);
|
||||
// Bring back the `doc` type, should not have removed it, it is
|
||||
// quite useful.
|
||||
// TODO: remove this before offical release, as everybody
|
||||
// should have it in their rules at this point.
|
||||
µm.pMatrix.setCell('*', '*', 'doc', µm.Matrix.Green);
|
||||
µm.saveMatrix();
|
||||
µm.tMatrix.assign(µm.pMatrix);
|
||||
callback();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue