mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 15:56:56 +02:00
Add a preauth method
This commit is contained in:
@@ -29,6 +29,11 @@ window.iD = function () {
|
||||
history.merge(result);
|
||||
});
|
||||
|
||||
context.preauth = function(options) {
|
||||
connection.switch(options);
|
||||
return context;
|
||||
};
|
||||
|
||||
/* Straight accessors. Avoid using these if you can. */
|
||||
context.ui = function() { return ui; };
|
||||
context.connection = function() { return connection; };
|
||||
|
||||
Reference in New Issue
Block a user