vendor/assets/javascripts/mootools-plus/array.js in mootools-plus-0.1.3 vs vendor/assets/javascripts/mootools-plus/array.js in mootools-plus-0.1.4
- old
+ new
@@ -17,10 +17,10 @@
return this
}
})
Array.alias('first', 'getFirst')
- Array.alias('last', 'getFirst')
+ Array.alias('last', 'getLast')
Array.alias('select', 'filter')
Array.alias('compact', 'clean')
}
else {
if (console && console.error) console.error('Mootools is not yet installed.')