replace new function to eval

This commit is contained in:
Лампуша
2016-04-05 14:26:54 +03:00
parent b46bc097b4
commit 5353de95f9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "com.lampa.startapp",
"version": "0.1.1",
"version": "0.1.2",
"description": "Phonegap plugin for check or launch other application in android device.",
"cordova": {
"id": "com.lampa.startapp",
+1 -1
View File
@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.lampa.startapp"
version="0.1.1">
version="0.1.2">
<name>startApp</name>
<description>Phonegap plugin for check or launch other application in android device.</description>
+1 -1
View File
@@ -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()));
});
/**