From 65bfcdab1f7024e857e378742086a43abcc7c3fb Mon Sep 17 00:00:00 2001 From: Nelson Pecora Date: Fri, 11 May 2018 12:29:11 -0400 Subject: [PATCH] added comment --- lib/styleguide.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/styleguide.js b/lib/styleguide.js index 3274b44..19a84df 100644 --- a/lib/styleguide.js +++ b/lib/styleguide.js @@ -28,6 +28,10 @@ function findVariationFiles(styleguide) { * Grabs variations of all components and returns an object organized by * components and their variations * +* note that variations from the site's styleguide AND the _default styleguide will be added, +* since amphora will fallback gracefully to using the _default css files if they don't +* exist in the site's styleguide +* * @param {String} [styleguide] - name of the styleguide that is set in the sites' config * @returns {Object} componentVariations - an object that is organized by * component and its variations