Permalink
Browse files

Fix bad indentation in mutation observer scheduler (#1282)

  • Loading branch information...
1 parent 0b9d101 commit 51aabb4e5412c82ded0d92692cc899e02e0f334d @timotheeg timotheeg committed with Jan 2, 2017
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/schedule.js
View
@@ -46,11 +46,11 @@ if (util.isNode && typeof MutationObserver === "undefined") {
var scheduleToggle = function() {
if (toggleScheduled) return;
- toggleScheduled = true;
- div2.classList.toggle("foo");
- };
+ toggleScheduled = true;
+ div2.classList.toggle("foo");
+ };
- return function schedule(fn) {
+ return function schedule(fn) {
var o = new MutationObserver(function() {
o.disconnect();
fn();

0 comments on commit 51aabb4

Please sign in to comment.