Explorar el Código

uSim global as possibility in README

Herbert Vojčík hace 8 años
padre
commit
7c8249854d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -5,6 +5,8 @@ minimal discrete time simulation in javascript
 
 Get the `uSim` class by `var uSim = require("usim");` (node)
 or `define(["usim", ...], function (uSim, ...) { /*module code*/}` (AMD).
+If needed, you can also just include it in `<script src=".../usim.js"></script>`
+and use the global `uSim`.
 
  - `var usim = new uSim()`
  Creates new simulation timeline with initial time set to `-Infinity`.