From 47c7f112ac783bc483ff697bc1d0271a67358bc5 Mon Sep 17 00:00:00 2001 From: d11e9 Date: Fri, 2 Oct 2015 18:52:13 +0100 Subject: [PATCH] recusive imports --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 851c8ad690..f1ce2c03ec 100644 --- a/index.html +++ b/index.html @@ -339,7 +339,10 @@ THE SOFTWARE. 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; }