docs: function(func) {
              this._deviceOrientationCallback = func;
              if (Crafty.support.deviceorientation) {
                  if (window.DeviceOrientationEvent) {
                      // Listen for the deviceorientation event and handle DeviceOrientationEvent object
                      Crafty.addEvent(
                          this,
                          window,
                          "deviceorientation",
                          this._normalizeDeviceOrientation
                      );
                  } else if (window.OrientationEvent) {
                      // Listen for the MozOrientation event and handle OrientationData object
                      Crafty.addEvent(
                          this,
                          window,
                          "MozOrientation",
                          this._normalizeDeviceOrientation
                      );
                  }
              }
          }