Merge branch 'dev' into pr_2076

This commit is contained in:
Nick O'Leary
2019-03-05 14:37:33 +00:00
4 changed files with 7 additions and 7 deletions

2
packages/node_modules/@node-red/editor-client/src/js/ui/library.js vendored Normal file → Executable file
View File

@@ -44,7 +44,7 @@ RED.library = (function() {
li.className = "dropdown-submenu pull-left";
a = document.createElement("a");
a.href="#";
var label = i.replace(/^@.*\//,"").replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/," ").replace(/_/," ");
var label = i.replace(/^@.*\//,"").replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/g," ").replace(/_/g," ");
a.innerText = label;
li.appendChild(a);
li.appendChild(buildMenu(data.d[i],root+(root!==""?"/":"")+i));

View File

@@ -111,6 +111,7 @@
font-weight: bold;
.red-ui-tabs-badge-selected {
display: inline;
background: white;
}
.red-ui-tabs-badge-changed {
display: none;

View File

@@ -34,14 +34,14 @@ function init(_runtime) {
registryUtil.init(runtime);
}
function load(defaultNodesDir,disableNodePathScan) {
function load(disableNodePathScan) {
// To skip node scan, the following line will use the stored node list.
// We should expose that as an option at some point, although the
// performance gains are minimal.
//return loadNodeFiles(registry.getModuleList());
runtime.log.info(runtime.log._("server.loading"));
var nodeFiles = localfilesystem.getNodeFiles(defaultNodesDir,disableNodePathScan);
var nodeFiles = localfilesystem.getNodeFiles(disableNodePathScan);
return loadNodeFiles(nodeFiles);
}