kopia lustrzana https://github.com/c9/core
Merge pull request +9110 from c9/pull/core/142
[Trivial] Ensured plugin runners use caption as name if availablepull/134/merge
commit
6cd0e85a25
|
@ -365,7 +365,7 @@ define(function(require, exports, module) {
|
||||||
data = util.safeParseJson(data, function() {});
|
data = util.safeParseJson(data, function() {});
|
||||||
if (!data) return;
|
if (!data) return;
|
||||||
|
|
||||||
services.run.addRunner(filename, data, plugin);
|
services.run.addRunner(data.caption || filename, data, plugin);
|
||||||
break;
|
break;
|
||||||
case "snippets":
|
case "snippets":
|
||||||
services["language.complete"].addSnippet(data, plugin);
|
services["language.complete"].addSnippet(data, plugin);
|
||||||
|
@ -541,4 +541,4 @@ define(function(require, exports, module) {
|
||||||
"plugin.debug": plugin
|
"plugin.debug": plugin
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue