jquery.flowchart icon indicating copy to clipboard operation
jquery.flowchart copied to clipboard

Unexpected characters in source code

Open frollo opened this issue 7 years ago • 2 comments

On Google Chrome 65.0.3325.181 x64 (cohort: Stable), running JS V8 6.5.254.41 whenever I try to run something that includes jquery.flowchart (I've installed it as a dependency of my project using npm) I get multiple "SyntaxError: Unexpected identifier". All of them are due to characters which aren't displayed in editors, but are definetely not white spaces:

image

in Atom (or Notepad++, with the 'show all characters' option activated) there is nothing:

image

Simply deleting and re-typing a couple of charactes around the error is enough to remove the issues (and both Atom and Notepad++ detect a change, so there is definetely some character there).

So far, I've ecountered the issue at lines 240, 448, 709, 713, 800, 868 and 904

frollo avatar Apr 01 '18 20:04 frollo

That is weird, I don't have this problem on my end. Are you sure you are using the last version of the plugin? getSelectedOperatorId should be now on line 800...

sdrdis avatar Apr 03 '18 11:04 sdrdis

I've installed it via npm, so this could probably be fixed by updating the version provided by npm

frollo avatar Apr 03 '18 13:04 frollo