Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

cdn.cubing.net

JavaScript Modules (/js)

For now, look here to see what packages are available.

Example:

<script type="module" defer>
  import "https://cdn.cubing.net/js/scramble-display";
  import { Alg } from "https://cdn.cubing.net/js/cubing/alg";

  // Invert the scramble when you click the display.
  const disp = document.querySelector("#disp");
  disp.addEventListener("click", () => {
    disp.scramble = Alg.fromString(disp.scramble).invert().toString();
  });
</script>
<scramble-display id="disp" scramble="R U R'"></scramble-display>

About

πŸ—‚ A common host for cubing packages on the web.

Topics

Resources

License

Releases

No releases published

Packages

No packages published