mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 11:52:44 +00:00
lint
This commit is contained in:
@@ -66,10 +66,10 @@ const Snippetbar = createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
mergeCustomizer : function(objValue, srcValue) {
|
mergeCustomizer : function(objValue, srcValue) {
|
||||||
if (_.isArray(objValue)) {
|
if(_.isArray(objValue)) {
|
||||||
let result = _.unionBy(srcValue, objValue, 'name'); // Join snippets together, with preference for the current theme over the base theme
|
const result = _.unionBy(srcValue, objValue, 'name'); // Join snippets together, with preference for the current theme over the base theme
|
||||||
return _.filter(result, 'gen'); //Only keep snippets with a 'gen' property.
|
return _.filter(result, 'gen'); //Only keep snippets with a 'gen' property.
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
compileSnippets : function(rendererPath, themePath, snippets) {
|
compileSnippets : function(rendererPath, themePath, snippets) {
|
||||||
|
|||||||
Reference in New Issue
Block a user