mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-08 12:05:58 +08:00
14 lines
250 B
Markdown
14 lines
250 B
Markdown
# requirejs
|
|
|
|
Load Chance with <a href="http://requirejs.org">RequireJS</a>
|
|
|
|
```js
|
|
require(['Chance'], function(Chance) {
|
|
// Instantiate
|
|
var chance = new Chance();
|
|
|
|
// Then use it:
|
|
var my_random_integer = chance.integer();
|
|
});
|
|
```
|