mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
comments
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Fibonacci numbers
|
||||
|
||||
function fib(n) {
|
||||
if(n == 0 || n == 1) {
|
||||
return n
|
||||
|
||||
@@ -13,6 +13,10 @@ const langs = _(repos.items)
|
||||
|
||||
import {barY} from "https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/+esm";
|
||||
|
||||
/*
|
||||
Move the cursor to the following line and see the plot displayed alongside the code
|
||||
*/
|
||||
|
||||
barY(langs, {x: "language", y: "count", sort: {x: "y", reverse: true}, fill: 'purple'})
|
||||
.plot()
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/*
|
||||
Example of TODO HTML5 app built using preact library
|
||||
*/
|
||||
|
||||
import {h, render} from 'https://unpkg.com/preact?module';
|
||||
|
||||
import {createApp, handler, connect} from './app.js'
|
||||
|
||||
Reference in New Issue
Block a user