-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
For example (https://github.com/CeroyUno/JavaScriptView/blob/master/js/jsview.js#L120):
eval( '$JSView.controller.' + e + '("' + e + '")' );
I think this would be better written as
$JSView.controller[e](e);
By my count there's four spots where eval is being used like this.