This lib is not ES6!

This commit is contained in:
Julien Fontanet 2015-05-22 16:41:33 +02:00
parent d8ca15ceb3
commit 5a87a6c502

View File

@ -54,10 +54,10 @@ function createAutoLinks (collection, object) {
}
function setMultiple (collection, items) {
const getKey = collection.getKey
var getKey = collection.getKey
forEach(items, function (item) {
const key = getKey(item)
var key = getKey(item)
if (!key) {
return
}
@ -69,10 +69,10 @@ function setMultiple (collection, items) {
}
function unsetMultiple (collection, items) {
const getKey = collection.getKey
var getKey = collection.getKey
forEach(items, function (item) {
const key = getKey(item)
var key = getKey(item)
if (!key) {
return
}