Revert "add docs"

This reverts commit bdfc19ad20.
This commit is contained in:
Cheng Zhao 2016-02-24 13:25:22 +08:00
parent 820c72af55
commit bb1e4c2208
3 changed files with 9 additions and 29 deletions

View file

@ -19,6 +19,10 @@ 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.');
};