Skip to content

Commit

Permalink
[No-Actions] try.html
Browse files Browse the repository at this point in the history
  ____ _____     _  ____  _    _      _  _____
 |  _ \_   _|   | |/ __ \| |  | |    | |/ ____|
 | |_) || |     | | |  | | |  | |    | | (___
 |  _ < | | _   | | |  | | |  | |_   | |\___ \
 | |_) || || |__| | |__| | |__| | |__| |____) |
 |____/_____\____/ \____/ \____(_)____/|_____/

Files changed:

 M try.html

Date: 2021-01-17 22:52:06
User: Explosion-Scratch
Email: explosion.scratch@gmail.com
  • Loading branch information
Explosion-Scratch committed Jan 17, 2021
1 parent 0aa3250 commit 81be9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion try.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ <h1 class="margin-bottom">Try Bijou.js!</h1>
<script>
var notebook = RunKit.createNotebook({
element: document.getElementById("code"),
source: "\/\/Require Bijou.js! \r\nconst _$ = require(\"bijou.js\");\r\n\r\n\/\/Let\'s get some unique id\'s!\r\nconsole.log(_$.uuid());\r\n\r\n\/\/Now let\'s log a bunch of primes!\r\nconsole.log(_$.primesTo(300));\/\/The prime numbers up to 300!\r\n\r\n\/\/Let\'s convert the keys for this object to uppercase!\r\nconsole.log(_$.mapObjectKeys({\"test\": \"A value\", \"anotherThing\": \"Another!\"}, (key) => key.toUpperCase()))\r\n\r\n\/\/Let\'s lighten this color by 10:\r\nconsole.log(_$.lightenColor(\"#00bbbb\", 100))"
source: "\/\/Require Bijou.js! \r\nconst _$ = require(\"bijou.js\");\r\n\r\n\/\/Let\'s get some unique id\'s!\r\nconsole.log(_$.uuid());\r\n\r\n\/\/Now let\'s log a bunch of primes!\r\nconsole.log(_$.primesTo(300));\/\/The prime numbers up to 300!\r\n\r\n\/\/Let\'s convert the keys for this object to uppercase!\r\nconsole.log(_$.mapObjectKeys({\"test\": \"A value\", \"anotherThing\": \"Another!\"}, (key) => key.toUpperCase()))\r\n\r\n\/\/Let\'s lighten this color by 100:\r\nconsole.log(_$.lightenColor(\"#00bbbb\", 100))"
})
</script>

0 comments on commit 81be9c4

Please sign in to comment.