mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix ADM support to avoid error messages.
This commit is contained in:
parent
cb1f9e5b7c
commit
3d99b5e931
1 changed files with 1 additions and 1 deletions
|
@ -132,5 +132,5 @@ return paper;
|
|||
};
|
||||
|
||||
// Support AMD (e.g. require.js)
|
||||
if (define && define.amd)
|
||||
if (typeof define === 'function' && define.amd)
|
||||
define(paper);
|
||||
|
|
Loading…
Reference in a new issue