code: function resolve(pattern) {
        var token = pattern.slice(0, 1);
  
        if (this.is('rtl')) {
          return pattern.split(token).join(FLIPED_MOVEMENTS[token]);
        }
  
        return pattern;
      }
docs: Resolves pattern based on direction value
  
  @param {String} pattern
  @returns {String}