Skip to content

Files

Latest commit

 

History

History
 
 

matter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

cljsjs/matter

[cljsjs/matter "0.12.0-14"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require cljsjs.matter))

Documentation for the matter.js lib can be found on its github page

I made updates to the externs by regenerating them using Javascript Externs Generator, merging the files using with a diff tool, and then creating a list of all the properties that weren't included using:

 egrep "^var.*{};|@property .*" m

Followed by a lot of manual editing and merging. The examples I've tried work with advanced optimisations, but there still may be things missed.