mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 08:04:23 +08:00
Remove unused top-level apply method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user