code: function resizeListener(e) {
      var win = e.target || e.srcElement;
      // Get resize funciton to be triggered and suscribe itto cancel function
      if (win.__resizeRAF) cancelFrame(win.__resizeRAF);
      // Declare resize function and suscribe it to request animation frame functionality
      win.__resizeRAF = requestFrame(function() {
        var trigger = win.__resizeTrigger;
        // Call every monitored element resize callbacks
        if (trigger) {
          // Call every monitored element resize callbacks
          for (var key in trigger.__resizeListeners) {
            trigger.__resizeListeners[key].call(trigger, e);
          }
        }
      });
    }
docs: Resize triggering!