Skip to content

Remove use of eval #1

@kerrishotts

Description

@kerrishotts

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions