mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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++) {
|
for (var i = 0, l = scripts.length; i < l; i++) {
|
||||||
var script = scripts[i];
|
var script = scripts[i];
|
||||||
// Only load this script if it not loaded already.
|
// Only load this script if it not loaded already.
|
||||||
|
// TODO: support 'text/x-paperscript':
|
||||||
if (script.type === 'text/paperscript'
|
if (script.type === 'text/paperscript'
|
||||||
&& !script.getAttribute('loaded')) {
|
&& !script.getAttribute('loaded')) {
|
||||||
// Produce a new PaperScope for this script now. Scopes are
|
// Produce a new PaperScope for this script now. Scopes are
|
||||||
|
|
Loading…
Reference in a new issue