code: function setupViewportChangeEvent(mediaQueries, eventRegistry, namespace) {
      var _loop_1 = function (viewport) {
          matchMedia(viewport.query).addListener(function (mediaQueryList) {
              if (mediaQueryList.matches) {
                  fireViewportChangeEvent(viewport.name, eventRegistry, namespace);
              }
          });
      };
      for (var _i = 0, mediaQueries_1 = mediaQueries; _i < mediaQueries_1.length; _i++) {
          var viewport = mediaQueries_1[_i];
          _loop_1(viewport);
      }
  }
docs: Use enquire.js to listen for viewport changes
  Once a viewport changed call all gondel plugins which are listening