Spelling (en-us): behavior [slightly more instances of this spelling than the British]

This commit is contained in:
Josh Soref 2012-09-10 14:59:10 -04:00 committed by Simon MacDonald
parent 1bc55f5937
commit 5a94b38e2f
2 changed files with 4 additions and 4 deletions

View File

@ -410,7 +410,7 @@ public class AudioPlayer implements OnCompletionListener, OnPreparedListener, On
*/
private void setMode(MODE mode) {
if (this.mode != mode) {
//mode is not part of the expected behaviour, so no notification
//mode is not part of the expected behavior, so no notification
//this.handler.sendJavascript("cordova.require('cordova/plugin/Media').onStatus('" + this.id + "', " + MEDIA_STATE + ", " + mode + ");");
}
this.mode = mode;

View File

@ -731,7 +731,7 @@ public class CordovaWebView extends WebView {
if(keyDownCodes.contains(keyCode))
{
if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) {
// only override default behaviour is event bound
// only override default behavior is event bound
LOG.d(TAG, "Down Key Hit");
this.loadUrl("javascript:cordova.fireDocumentEvent('volumedownbutton');");
return true;
@ -766,7 +766,7 @@ 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;
@ -789,7 +789,7 @@ public class CordovaWebView extends WebView {
return super.onKeyUp(keyCode, event);
}
//Does webkit change this behaviour?
//Does webkit change this behavior?
return super.onKeyUp(keyCode, event);
}