mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Linting the JS code
This commit is contained in:
@@ -386,7 +386,7 @@ PhoneGap.m_window_addEventListener = window.addEventListener;
|
||||
*/
|
||||
PhoneGap.addWindowEventHandler = function(event, callback) {
|
||||
PhoneGap.windowEventHandler[event] = callback;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a custom document event handler.
|
||||
@@ -396,7 +396,7 @@ PhoneGap.addWindowEventHandler = function(event, callback) {
|
||||
*/
|
||||
PhoneGap.addDocumentEventHandler = function(event, callback) {
|
||||
PhoneGap.documentEventHandler[event] = callback;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Intercept adding document event listeners and handle our own
|
||||
|
||||
Reference in New Issue
Block a user