X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JsTemplate%2FLink.js;h=d4cec0df2e448b21fb0d77f9c2c7edcb29765136;hb=245e619d716fac0f19ec356c1200cbde712598d3;hp=4fc58d6073fd2dcc5c02baad10782eb9a946a031;hpb=a2a29a27e5f25dcc2a8b910cb1c771f53c717a13;p=gnome.introspection-doc-generator diff --git a/JsTemplate/Link.js b/JsTemplate/Link.js index 4fc58d6..d4cec0d 100644 --- a/JsTemplate/Link.js +++ b/JsTemplate/Link.js @@ -157,9 +157,9 @@ Link = XObject.define( var srcFile = srcFilePath.replace(/\.\.?[\\\/]/g, "").replace(/[:\\\/]/g, "."); // was _ var lsrcFile = srcFilePath.replace(/\.\.?[\\\/]/g, "").replace(/[:\\\/]/g, "."); var outFilePath = Link.base + '/symbols/' + srcFile.replace(/.js$/, '') + - import.JSDOC.Options.Options.publishExt; + imports.JSDOC.Options.Options.publishExt; - if (!this.text) this.text = FilePath.fileName(srcFilePath); + if (!this.text) this.text = srcFilePath; //FilePath.fileName(srcFilePath); return ""+this.text+""; },