source/sortable-item-handle.js
function fetchScope(element) {
            var scope;
            while (!scope && element.length) {
              scope = element.data('_scope');
              if (!scope) {
                element = element.parent();
              }
            }
            return scope;
          }
function fetchScope(element) {
            var scope;
            while (!scope && element.length) {
              scope = element.data('_scope');
              if (!scope) {
                element = element.parent();
              }
            }
            return scope;
          }
function fetchScope ( element ) { var scope ; while ( ! scope && element . length ) { scope = element . data ( '_scope' ) ; if ( ! scope ) { element = element . parent ( ) ; } } return scope ; }
Fetch scope from element or parents
@param  {object} element Source element
@return {object}         Scope, or null if not found
Fetch scope from element or parents