mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Add .dev-mode class to root view
This commit is contained in:
@@ -23,12 +23,6 @@
|
||||
console.error(error.stack || error);
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (window.location.params.devMode) {
|
||||
document.body.setAttribute('class', 'is-dev-mode')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<script src='../src/stdlib/require.js'></script>
|
||||
|
||||
Reference in New Issue
Block a user