making things consistent
This commit is contained in:
parent
106772e480
commit
45df7bfea3
4 changed files with 151 additions and 178 deletions
|
|
@ -80,6 +80,7 @@ export function Repl({ embedded = false }) {
|
|||
const data = { code };
|
||||
let id = getViewingPattern();
|
||||
window.location.hash = '#' + code2hash(code);
|
||||
|
||||
const examplePatternData = examplePattern.getPatternData(id);
|
||||
const isExamplePattern = examplePatternData != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue