Fixed typo in word 'async'

This commit is contained in:
Oleg Elifantiev 2015-08-05 11:46:54 +03:00
parent 10fb616665
commit 70766c47d5

View file

@ -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 "'