File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const LEGACY_FILE_NAME = "obs-files";
55
66const FILE_NAME = "recho-files" ;
77
8- const DEFAULT_RUNTIME = "javascript@0.0.0-beta.1 " ;
8+ const DEFAULT_RUNTIME = "javascript@0.1.0 " ;
99
1010function generateProjectName ( ) {
1111 const adj = predicates [ ~ ~ ( Math . random ( ) * predicates . length ) ] ;
@@ -42,7 +42,7 @@ export function getNotebooks() {
4242 if ( ! files ) return [ ] ;
4343 const notebooks = JSON . parse ( files ) . sort ( ( a , b ) => new Date ( b . updated ) - new Date ( a . updated ) ) ;
4444 // Remove fallback runtime when we have breaking changes.
45- return notebooks . map ( ( notebook ) => ( { ...notebook , runtime : notebook . runtime || DEFAULT_RUNTIME } ) ) ;
45+ return notebooks . map ( ( notebook ) => ( { ...notebook , runtime : DEFAULT_RUNTIME } ) ) ;
4646}
4747
4848export function clearNotebooksFromLocalStorage ( ) {
You can’t perform that action at this time.
0 commit comments