mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Show devtools on right click in specs window.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
(function() {
|
||||
// Show DevTools.
|
||||
document.oncontextmenu = function(e) {
|
||||
require('remote').getCurrentWindow().inspectElement(e.clientX, e.clientY);
|
||||
}
|
||||
|
||||
require('coffee-script'); // Supports .coffee tests.
|
||||
|
||||
var Mocha = require('mocha');
|
||||
|
||||
Reference in New Issue
Block a user