mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Merge pull request #744 from Olegas/fix-async-typo
Fixed typo in word 'async'
This commit is contained in:
commit
2b0098321f
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ Base.exports.PaperScript = (function() {
|
|||
var canvasId = PaperScope.getAttribute(script, 'canvas'),
|
||||
canvas = document.getElementById(canvasId),
|
||||
src = script.src,
|
||||
async = PaperScope.hasAttribute(script, 'asyc'),
|
||||
async = PaperScope.hasAttribute(script, 'async'),
|
||||
scopeAttribute = 'data-paper-scope';
|
||||
if (!canvas)
|
||||
throw new Error('Unable to find canvas with id "'
|
||||
|
|
Loading…
Reference in a new issue