Explorar o código

Popper: Add missing doc in isModifierRequired

Liril %!s(int64=8) %!d(string=hai) anos
pai
achega
0c126c6f87
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/utils/popper.js

+ 2 - 1
src/utils/popper.js

@@ -575,9 +575,10 @@
      * Helper used to know if the given modifier depends from another one.
      * @method
      * @memberof Popper
+     * @param {String} requesting - name of requesting modifier
+     * @param {String} requested - name of requested modifier
      * @returns {Boolean}
      */
-
     Popper.prototype.isModifierRequired = function(requesting, requested) {
         var index = getArrayKeyIndex(this._options.modifiers, requesting);
         return !!this._options.modifiers.slice(0, index).filter(function(modifier) {