mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
Can't use ES6 fat-arrow functions with arguments
see buble bug https://github.com/bublejs/buble/issues/208
This commit is contained in:
@@ -32,14 +32,14 @@ export function uiLoading(context) {
|
||||
};
|
||||
|
||||
|
||||
loading.message = (val) => {
|
||||
loading.message = function(val) {
|
||||
if (!arguments.length) return _message;
|
||||
_message = val;
|
||||
return loading;
|
||||
};
|
||||
|
||||
|
||||
loading.blocking = (val) => {
|
||||
loading.blocking = function(val) {
|
||||
if (!arguments.length) return _blocking;
|
||||
_blocking = val;
|
||||
return loading;
|
||||
|
||||
Reference in New Issue
Block a user