From 5353de95f95dc310c90c244b9b291089554e4c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B0=D0=BC=D0=BF=D1=83=D1=88=D0=B0?= Date: Tue, 5 Apr 2016 14:26:54 +0300 Subject: [PATCH] replace new function to eval --- package.json | 2 +- plugin.xml | 2 +- test/test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 12d754b..6d6d40d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugin.xml b/plugin.xml index cd34fca..f5b6971 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="0.1.2"> startApp Phonegap plugin for check or launch other application in android device. diff --git a/test/test.js b/test/test.js index a79c3ff..64b388d 100644 --- a/test/test.js +++ b/test/test.js @@ -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())); }); /**