Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
so close and yet so var (bug 822878)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Jan 30, 2013
1 parent 9707fe6 commit 300308c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions media/js/mkt/consumer_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'login',
'notification',
'prefetch',
'state',
'tracking'
];

Expand Down
6 changes: 3 additions & 3 deletions media/js/mkt/user_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
} else {
if (z.capabilities.webApps) {
// Get list of installed apps.
r = window.navigator.mozApps.getInstalled();
var r = window.navigator.mozApps.getInstalled();

This comment has been minimized.

Copy link
@mattbasta

mattbasta Jan 31, 2013

Contributor

Did you test this?

This comment has been minimized.

Copy link
@cvan

cvan Jan 31, 2013

Author Contributor

yep

r.onsuccess = function() {
_.each(r.result, function(v) {
state.mozApps[v.manifestURL] = v;
Expand All @@ -74,7 +74,7 @@
console.log(k, 'has changed from', JSON.stringify(z.state[k]), 'to', JSON.stringify(v));
sideEffects[k].apply();
}
})
});
});
}

Expand All @@ -89,7 +89,7 @@
}, false);
});
}
}
};
});

})();

0 comments on commit 300308c

Please sign in to comment.