Browse Source

doc is hardcoded now

pull/2/head
Raymond Hill 10 years ago
parent
commit
a31351c6f9
  1. 1
      src/js/httpsb.js
  2. 6
      src/js/storage.js

1
src/js/httpsb.js

@ -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);

6
src/js/storage.js

@ -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…
Cancel
Save