Commit 47c7f112 authored by d11e9's avatar d11e9

recusive imports

parent 488537ad
...@@ -339,7 +339,10 @@ THE SOFTWARE. ...@@ -339,7 +339,10 @@ THE SOFTWARE.
matches.push( match[0] ) matches.push( match[0] )
} }
} }
for (var i in imports) { input = input.replace( matches[i], window.localStorage.getItem( imports[i] ) ); } for (var i in imports) {
imported = includeLocalImports( window.localStorage.getItem( imports[i] ) )
input = input.replace( matches[i], imported );
}
return input; return input;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment