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
@@ -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
@@ -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
@@ -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