mirror of
https://github.com/lampaa/com.lampa.startapp.git
synced 2026-05-20 00:01:31 +08:00
replace new function to eval
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ jQuery(document).on('deviceready ready', function(e) {
|
||||
|
||||
$('#run').on('click', function() {
|
||||
// eval
|
||||
console.log(new Function($result.html()));
|
||||
console.log(eval($result.html()));
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user