Merge pull request #744 from Olegas/fix-async-typo

Fixed typo in word 'async'
This commit is contained in:
Jürg Lehni 2015-08-06 07:24:18 +02:00
commit 2b0098321f

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