PaperScript: add todo for supporting scripts with type: 'text/x-paperscript'.

This commit is contained in:
Jonathan Puckey 2011-06-30 10:58:09 +02:00
parent 3ddf2b40ca
commit 5982196c66

View file

@ -228,6 +228,7 @@ var PaperScript = this.PaperScript = new function() {
for (var i = 0, l = scripts.length; i < l; i++) {
var script = scripts[i];
// Only load this script if it not loaded already.
// TODO: support 'text/x-paperscript':
if (script.type === 'text/paperscript'
&& !script.getAttribute('loaded')) {
// Produce a new PaperScope for this script now. Scopes are