chore: move to clang-format 1.0.17.
clang-format 1.0.17 substantially improves formatting for fat arrow functions and array literal detection. It also fixes a number of minor formatting issues.
This commit is contained in:
@ -23,19 +23,17 @@ export function setupReflector() {
|
||||
|
||||
// TODO(kegluneq): Generate this.
|
||||
reflector.registerSetters({
|
||||
'style': (o, m) =>
|
||||
{
|
||||
// HACK
|
||||
MapWrapper.forEach(m, function(v, k) { o.style.setProperty(k, v); });
|
||||
}
|
||||
'style': (o, m) => {
|
||||
// HACK
|
||||
MapWrapper.forEach(m, function(v, k) { o.style.setProperty(k, v); });
|
||||
}
|
||||
});
|
||||
|
||||
reflector.registerMethods({
|
||||
'onScroll': (o, args) =>
|
||||
{
|
||||
// HACK
|
||||
o.onScroll(args[0]);
|
||||
},
|
||||
'onScroll': (o, args) => {
|
||||
// HACK
|
||||
o.onScroll(args[0]);
|
||||
},
|
||||
'setStage': (o, args) => o.setStage(args[0])
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user