-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
playground: Fix example loading when URL also mentions id
Loading an example now replaces the url rather than adding a parameter to it. If both id & example are found in the url params then remove the example param. Closes #484 as merged as of commit b8431c4c3. Fixes cue-lang/cue#2994. Signed-off-by: Jorinde Reijnierse <[email protected]> Change-Id: Ib7d13617968b98a962a29e667082aa6fe2ed2b38 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1206292 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
1 parent
ec9ff51
commit 6a04fb0
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters