浏览代码

uSim global as possibility in README

Herbert Vojčík 8 年之前
父节点
当前提交
7c8249854d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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`.