mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
add docs
This commit is contained in:
@@ -19,10 +19,6 @@ var logAndThrow = function(callback, message) {
|
||||
}
|
||||
};
|
||||
|
||||
protocol.fromPartition = function(partition) {
|
||||
return session.fromPartition(partition).protocol;
|
||||
};
|
||||
|
||||
protocol.registerProtocol = function(scheme, handler, callback) {
|
||||
return logAndThrow(callback, 'registerProtocol API has been replaced by the register[File/Http/Buffer/String]Protocol API family, please switch to the new APIs.');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user