mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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'),
|
var canvasId = PaperScope.getAttribute(script, 'canvas'),
|
||||||
canvas = document.getElementById(canvasId),
|
canvas = document.getElementById(canvasId),
|
||||||
src = script.src,
|
src = script.src,
|
||||||
async = PaperScope.hasAttribute(script, 'asyc'),
|
async = PaperScope.hasAttribute(script, 'async'),
|
||||||
scopeAttribute = 'data-paper-scope';
|
scopeAttribute = 'data-paper-scope';
|
||||||
if (!canvas)
|
if (!canvas)
|
||||||
throw new Error('Unable to find canvas with id "'
|
throw new Error('Unable to find canvas with id "'
|
||||||
|
|
Loading…
Reference in a new issue