mirror of
https://github.com/atom/atom.git
synced 2026-02-18 10:31:54 -05:00
add visual indicator for dev mode
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
console.error(error.stack || error);
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if(window.location.params.devMode == "true")
|
||||
document.body.setAttribute('class', 'is-dev-mode')
|
||||
})
|
||||
</script>
|
||||
|
||||
<script src='../src/stdlib/require.js'></script>
|
||||
|
||||
Reference in New Issue
Block a user