/usr/lib/python2.7/dist-packages/notebook/static/components/preact-compat/index.js is in python-notebook 5.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | (function(global, factory) {
if (typeof define === 'function' && define.amd) {
define('preactCompat', ['exports', 'module'], factory);
} else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
factory(exports, module);
} else {
var mod = {
exports: {}
};
factory(mod.exports, mod);
global.preactCompat = mod.exports;
}
})(this, function(exports, module) {
module.exports = {
createClass: function() {},
createElement: function() {}
};
});
|