Update importcode.src
oops
This commit is contained in:
parent
151753bb4e
commit
2a08a660dd
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ handleFileImports = function(pathSrc)
|
|||
//-- handle relative imports
|
||||
if text[:2] == "./" then text = parent_path(pathSrc)+text[2:]
|
||||
//-- handle non-dot relative imports
|
||||
if text[0] != "/" then text = parent_path(pathSrc)+"/"+text[1:]
|
||||
if text[0] != "/" then text = parent_path(pathSrc)+"/"+text
|
||||
//-- handle nested imports
|
||||
if text[-4:]==".src" then
|
||||
result = handleFileImports(text)
|
||||
|
|
|
|||
Reference in a new issue