Show devtools on right click in specs window.

This commit is contained in:
Cheng Zhao 2013-07-31 10:55:47 +08:00
parent 02de9c3b39
commit 52a3dc8c9d

View file

@ -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');