Menu

#734 maybe a KOMPOSER editor bug

0.8b3
open
nobody
None
5
2015-07-09
2015-07-09
No

hi, i dont know if its the good location for this report, but i do!
loading simple sample (w3school!) of javascript function,
i obtain a curious reaction from KOMPOSER source page tool. if you would see the copy :
......................

Accessing a function without (), will return the function definition: function toCelsius(f) { return 0.5555555555555556 * (f - 32); } <script> function toCelsius(f) { return (5/9) * (f-32); } document.getElementById("demo").innerHTML = toCelsius; //document.getElementById("demo").innerHTML = toCelsius(32); </script>

.................
So the " function toCelsius(f) { return 0.5555555555555556 * (f - 32);} "
that i havent write ! Would not be following "

" ??????
its a curious auto-insert-reaction in source page from editor obtained
when ask for save or ask for design page option....
any idea ??
thanks for reading
Dan

Discussion


Log in to post a comment.

MongoDB Logo MongoDB