projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02de9c3
)
Show devtools on right click in specs window.
author
Cheng Zhao
<zcbenz@gmail.com>
Wed, 31 Jul 2013 02:55:47 +0000
(10:55 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Wed, 31 Jul 2013 02:55:47 +0000
(10:55 +0800)
spec/index.html
patch
|
blob
|
history
diff --git
a/spec/index.html
b/spec/index.html
index
c80c209
..
16d8389
100644
(file)
--- a/
spec/index.html
+++ b/
spec/index.html
@@
-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');