docs: function (name, mixins, creator) {
              if (mixins instanceof Function) {
                  creator = mixins;
                  mixins = [];
              }
              // make sure this component won't cause a circular mixin dependency
              findCircularDependencies(name, mixins);
              components[name] = {
                  mixins: mixins,
                  creator: creator
              };
          }