Countable.js
function (elements) {
      if (!validateArguments(elements, function () {})) return

      if (!Array.isArray(elements)) {
          elements = [ elements ]
      }

      liveElements.filter(function (e) {
          return elements.indexOf(e.element) !== -1
      }).forEach(function (e) {
          e.element.removeEventListener('input', e.handler)
      })

      liveElements = liveElements.filter(function (e) {
          return elements.indexOf(e.element) === -1
      })

      return this
    }
function (elements) {
      if (!validateArguments(elements, function () {})) return

      if (!Array.isArray(elements)) {
          elements = [ elements ]
      }

      liveElements.filter(function (e) {
          return elements.indexOf(e.element) !== -1
      }).forEach(function (e) {
          e.element.removeEventListener('input', e.handler)
      })

      liveElements = liveElements.filter(function (e) {
          return elements.indexOf(e.element) === -1
      })

      return this
    }
function ( elements ) { if ( ! validateArguments ( elements , function ( ) { } ) ) return if ( ! Array . isArray ( elements ) ) { elements = [ elements ] } liveElements . filter ( function ( e ) { return elements . indexOf ( e . element ) !== - 1 } ) . forEach ( function ( e ) { e . element . removeEventListener ( 'input' , e . handler ) } ) liveElements = liveElements . filter ( function ( e ) { return elements . indexOf ( e . element ) === - 1 } ) return this }
The `off` method removes the Countable functionality from all given
elements.

@param   {Nodes}   elements  All elements whose Countable functionality
should be unbound.

@return  {Object}  Returns the Countable object to allow for chaining.
The off method removes the Countable functionality from all given elements .