Spelling fixes

This commit is contained in:
Josh Soref
2013-10-30 21:06:58 -04:00
committed by Andrew Grieve
parent d7ad784809
commit 74ea6bf00a
8 changed files with 14 additions and 14 deletions

View File

@@ -190,7 +190,7 @@ public class App extends CordovaPlugin {
* @param override T=override, F=cancel override
*/
public void overrideBackbutton(boolean override) {
LOG.i("App", "WARNING: Back Button Default Behaviour will be overridden. The backbutton event will be fired!");
LOG.i("App", "WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired!");
webView.bindButton(override);
}
@@ -202,7 +202,7 @@ public class App extends CordovaPlugin {
* @param override T=override, F=cancel override
*/
public void overrideButton(String button, boolean override) {
LOG.i("App", "WARNING: Volume Button Default Behaviour will be overridden. The volume event will be fired!");
LOG.i("App", "WARNING: Volume Button Default Behavior will be overridden. The volume event will be fired!");
webView.bindButton(button, override);
}

View File

@@ -760,11 +760,11 @@ public class CordovaWebView extends WebView {
if (this.backHistory()) {
return true;
}
// If not, then invoke default behaviour
// If not, then invoke default behavior
else {
//this.activityState = ACTIVITY_EXITING;
//return false;
// If they hit back button when app is initializing, app should exit instead of hang until initilazation (CB2-458)
// If they hit back button when app is initializing, app should exit instead of hang until initialization (CB2-458)
this.cordova.getActivity().finish();
}
}
@@ -963,7 +963,7 @@ public class CordovaWebView extends WebView {
public void hideCustomView() {
// This code is adapted from the original Android Browser code, licensed under the Apache License, Version 2.0
Log.d(TAG, "Hidding Custom View");
Log.d(TAG, "Hiding Custom View");
if (mCustomView == null) return;
// Hide the custom view.