this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Reformat and remove debug prints

+1 -9
+1 -9
example/src/index.ml
··· 4 4 5 5 let init ?doc ?(exts = [||]) () = 6 6 let open Editor in 7 - Console.(log ["toto"]); 8 7 let config = 9 8 State.Config.create ?doc 10 9 ~extensions:(Array.concat [ [| basic_setup |]; exts ]) 11 10 () 12 11 in 13 - Console.(log ["toto2"]); 14 12 let state = State.create ~config () in 15 - Console.(log ["toto3"]); 16 - let opts = View.opts 17 - ~state 18 - ~parent:(Document.body G.document) () 19 - in 20 - Console.(log ["toto4"]); 13 + let opts = View.opts ~state ~parent:(Document.body G.document) () in 21 14 let view : View.t = View.create ~opts () in 22 - Console.(log ["toto5"]); 23 15 (state, view) 24 16 25 17 let _editor = init ~exts:[||] ()