bhavjitchauhan / essentials Goto Github PK
View Code? Open in Web Editor NEWThe Khan Academy utility library.
License: MIT License
The Khan Academy utility library.
License: MIT License
Currently, the environment detected is incorrect because Essentials is tested by creating prototype builds on Khan Academy. This environment is similar to that of loading from a CDN except for a few differences; one being the this
variable.
Khan Academy prototype buid
console.log(this typeof Processing);
// expected output: true
CDN
console.log(this typeof Window);
// expected output: true
Commit changes are difficult to identify due to the library being built and documented at every commit.
The library should only ever be built in a separate release branch.
printf
attempts to call the replaceAll
method on the argument provided to it. This unsurprisingly throws the error if the argument is not a string:
string.replaceAll is not a function
This is not how printf
is designed to be used, however, it should be an easy fix in theory.
For times less than 1 millisecond, formatDuration
does not return a valid duration.
formatDuration(0.9);
// expected output: '0.9 milliseconds' or '900 microseconds'
// actually output: ''
The highlightText
function sets the global rectMode
, stroke
and textAlign
outside push
/pop
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.