GuneshRaj / gunbasic-js

GunBasic-JS is a library to quickly develop Ajax based web applications that are easily and independently testable. Writing AJAX codes only require 1 line of Client JS and the implementation in the Server. Suitable for Rapid Prototyping and Team development.
1 stars 0 forks source link

Javascript with more than 1 line per statement wont be EVALED #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Adding a javascript statement in SVAL & EVAL in multiple lines

eg. alert('Hello ' +
'World')

Note that this is 2 lines & would not be EVALED in a single line. 

What is the expected output? What do you see instead?

The expected output is a alert [Hello World], instead, this line is not evaled 
properly.

Original issue reported on code.google.com by gunesh....@gmail.com on 17 Sep 2011 at 7:00

GoogleCodeExporter commented 8 years ago
The new changes would include multiple lines javascript using a dedicated tag.

SVAL - EVAL would only work on single line Javascript. 

Original comment by gunesh....@gmail.com on 4 Nov 2011 at 7:15