mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
PaperScript: add todo for supporting scripts with type: 'text/x-paperscript'.
This commit is contained in:
parent
3ddf2b40ca
commit
5982196c66
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue