Dev: Expose show tool method

This commit is contained in:
surunzi
2016-03-31 13:37:12 +08:00
parent ab91e23c0a
commit 0f61d5babb
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
@import "../color";
.dev-tools {
position: absolute;
width: 100%;
@@ -24,6 +23,7 @@
transform: translateZ(0);
position: absolute;
overflow: hidden;
display: none;
left: 0;
top: 0;
background: $gray-light;

View File

@@ -66,6 +66,12 @@ module.exports = {
return this;
},
show(name)
{
devTools.showTool(name);
return this;
},
util
};