From 2b6c99c4dc988db0ea39404575777a02453d1d6e Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Wed, 9 Sep 2015 12:16:03 -0700 Subject: [PATCH] Remove unused top-level apply method --- CodePush.ios.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CodePush.ios.js b/CodePush.ios.js index 3147b8c..a7e7473 100644 --- a/CodePush.ios.js +++ b/CodePush.ios.js @@ -79,10 +79,6 @@ function checkForUpdate() { }); } -function apply(updatePackage) { - return NativeCodePush.applyUpdate(updatePackage); -} - function getCurrentPackage() { return NativeCodePush.getCurrentPackage(); } @@ -94,7 +90,6 @@ function notifyApplicationReady() { var CodePush = { getConfiguration: getConfiguration, checkForUpdate: checkForUpdate, - apply: apply, getCurrentPackage: getCurrentPackage, notifyApplicationReady: notifyApplicationReady, setUpTestDependencies: setUpTestDependencies