Skip to content

Commit

Permalink
flight: enable evil mode for templating engine
Browse files Browse the repository at this point in the history
  • Loading branch information
passy committed Jul 8, 2013
1 parent 87c5b34 commit ecae4c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dependency-examples/flight/app/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ define(function () {
source + "return __p;\n";

try {
/*jshint evil:true */
render = new Function(settings.variable || 'obj', '_', source);
} catch (err) {
err.source = source;
Expand Down

0 comments on commit ecae4c3

Please sign in to comment.