diff options
| author | Pavel Strashkin <[email protected]> | 2014-04-03 20:50:52 -0700 |
|---|---|---|
| committer | Pavel Strashkin <[email protected]> | 2014-04-03 20:50:54 -0700 |
| commit | 45b6b9cb85febf2d9cf5517041067690b4ed4159 (patch) | |
| tree | eadc2d1d000ff11b93092ee85c3efb0f360ec1d1 /examples/dataSet.json | |
| parent | 0c49ffcfd98ef2dc7ef56e63b90cdcfc7a624081 (diff) | |
| download | faker-45b6b9cb85febf2d9cf5517041067690b4ed4159.tar.xz faker-45b6b9cb85febf2d9cf5517041067690b4ed4159.zip | |
Better UMD (Universal Module Definition) support
The previous implementation of `UMD` (Universal Module Definition) didn't
work well with such libraries as `AngularJS` which globalizes `module`
variable which is injected with `exports` by another 3rd party library.
That leads to situation when `Faker` doesn't add itself to `window`, but
to that `module.exports` variable which is wrong.
Implementing `UMD` in a common way used by such tools as `browserify`
solves the problem thought it's pretty clear that other libraries should
respect the rules, not only `Faker`.
Diffstat (limited to 'examples/dataSet.json')
0 files changed, 0 insertions, 0 deletions
