mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fixed typo in word 'async'
This commit is contained in:
parent
10fb616665
commit
70766c47d5
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