@@ -385,9 +385,9 @@ export class SeedConfig {
385
385
PLUGIN_CONFIGS : any = {
386
386
/**
387
387
* The BrowserSync configuration of the application.
388
- * The default open behavior is to open the browser. To prevent the browser from opening use the `--b` flag when
389
- * running `npm start` (tested with serve.dev).
390
- * Example: `npm start -- --b`
388
+ * The default open behavior is to open the browser. To prevent the browser from opening use the `--b` flag when
389
+ * running `npm start` (tested with serve.dev).
390
+ * Example: `npm start -- --b`
391
391
* @type {any }
392
392
*/
393
393
'browser-sync' : {
@@ -408,18 +408,21 @@ export class SeedConfig {
408
408
409
409
/**
410
410
* Recursively merge source onto target.
411
+ * @param {any } target The target object (to receive values from source)
412
+ * @param {any } source The source object (to be merged onto target)
411
413
*/
412
- mergeObject ( target : any , source : any ) {
413
- var deepExtend = require ( 'deep-extend' ) ;
414
- deepExtend ( target , source ) ;
414
+ mergeObject ( target : any , source : any ) {
415
+ const deepExtend = require ( 'deep-extend' ) ;
416
+ deepExtend ( target , source ) ;
415
417
}
416
418
417
419
/**
418
- * Recursively merge source onto target.
420
+ * Locate a plugin configuration object by plugin key.
421
+ * @param {any } pluginKey The object key to look up in PLUGIN_CONFIGS.
419
422
*/
420
- getPluginConfig ( pluginKey : string ) : any {
421
- if ( this . PLUGIN_CONFIGS [ pluginKey ] ) {
422
- return this . PLUGIN_CONFIGS [ pluginKey ] ;
423
+ getPluginConfig ( pluginKey : string ) : any {
424
+ if ( this . PLUGIN_CONFIGS [ pluginKey ] ) {
425
+ return this . PLUGIN_CONFIGS [ pluginKey ] ;
423
426
}
424
427
return null ;
425
428
}
0 commit comments