And in this .js file I have the following two lines
var nuggetComment = src.indexOf("///");
and
var nuggetParameters = src.indexOf("|||");
It's a semi-quick hack to allow a js lib of mine to use both i18n-project and normal js-translation files.
But out on the webpage I get this:
var nuggetComment = src.indexOf("
So it cuts it there (and does not show ///.
Now I have to be honest I have not completely debugged it to show it's i18n causing this bug, but, if I do this:
var nuggetComment = src.indexOf("/"+"//");
and
var nuggetParameters = src.indexOf("|"+"||");
it works. And I can't think of anything else that would interfere with /// or |||
So maybe there is a bug that makes i18n fiddle with nugget comments and nugget parameters even outside of a nugget?
I have a .js file (javascript)
And in this .js file I have the following two lines var nuggetComment = src.indexOf("///"); and var nuggetParameters = src.indexOf("|||");
It's a semi-quick hack to allow a js lib of mine to use both i18n-project and normal js-translation files.
But out on the webpage I get this: var nuggetComment = src.indexOf("
So it cuts it there (and does not show ///.
Now I have to be honest I have not completely debugged it to show it's i18n causing this bug, but, if I do this: var nuggetComment = src.indexOf("/"+"//"); and var nuggetParameters = src.indexOf("|"+"||");
it works. And I can't think of anything else that would interfere with /// or ||| So maybe there is a bug that makes i18n fiddle with nugget comments and nugget parameters even outside of a nugget?
I built the latest version of the project