};
- // Needs more testing, will be rewriten for next version
+ // Needs more testing, will be rewritten for next version
// getOffset function copied from jQuery lib (http://jquery.com/)
if (document.documentElement.getBoundingClientRect){
// Get Offset using getBoundingClientRect
/**
* Get file extension lowercase
* @param {String} file name
- * @return file extenstion
+ * @return file extension
*/
function getExt(file){
return (-1 !== file.indexOf('.')) ? file.replace(/.*[.]/, '') : '';