Dev: Expose util for plugin usage

This commit is contained in:
surunzi
2016-03-30 23:09:24 +08:00
parent 400576f779
commit ab91e23c0a
2 changed files with 3 additions and 6 deletions

View File

@@ -16,8 +16,4 @@ export default class Tool
return this;
}
getConfig()
{
return this._config;
}
}

View File

@@ -53,7 +53,7 @@ function appendContainer()
$container = util.$('#eruda');
}
export default {
module.exports = {
get(name)
{
devTools.get(name);
@@ -65,6 +65,7 @@ export default {
devTools.add(tool);
return this;
}
},
util
};