js: Purge people module from window.

This commit is contained in:
Priyank Patel
2020-08-20 19:24:06 +00:00
committed by Anders Kaseorg
parent d774bba1b9
commit b7998d3160
112 changed files with 152 additions and 80 deletions

View File

@@ -1,5 +1,7 @@
"use strict";
const people = require("./people");
exports.get_hash_category = function (hash) {
// given "#streams/subscribed", returns "streams"
return hash ? hash.replace(/^#/, "").split(/\//)[0] : "";