Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6694 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6694 Rev 6865
Línea 35... Línea 35...
35
      func.apply(this, args)
35
      func.apply(this, args)
36
    }, timeout)
36
    }, timeout)
37
  }
37
  }
38
}
38
}
Línea -... Línea 39...
-
 
39
 
-
 
40
const camalize = function camalize(str) {
-
 
41
  return str
-
 
42
    .toLowerCase()
-
 
43
    .replace(/[^a-zA-Z0-9]+(.)/g, (m, chr) => chr.toUpperCase())
-
 
44
}
39
 
45
 
40
const scrollToBottom = (element) => {
46
const scrollToBottom = (element) => {
41
  if (!element.current) {
47
  if (!element.current) {
42
    return false
48
    return false
Línea 43... Línea 49...
43
  }
49
  }
44
 
50
 
Línea 45... Línea 51...
45
  element.scrollTop = element.scrollHeight * 9
51
  element.scrollTop = element.scrollHeight * 9