Move spec permalinks into their own class

This allows for Riot permalinks to be introduced without if-else ladders everywhere.
This commit is contained in:
Travis Ralston 2019-09-30 12:51:17 -06:00
parent f9d5e89017
commit 926e1146f9
4 changed files with 93 additions and 31 deletions

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import {baseUrl} from "./utils/permalinks/SpecPermalinks";
import {baseUrl} from "./utils/permalinks/SpecPermalinkConstructor";
function matrixLinkify(linkify) {
// Text tokens