mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Upgrade Meteor to 1.2.1-rc4
This version includes a more complete selection of ES2015 polyfills that I started used across the code base, for instance by replacing `$.trim(str)` by `str.trim()`.
This commit is contained in:
parent
b3696e1e3b
commit
31b60d82fc
12 changed files with 50 additions and 48 deletions
|
|
@ -97,11 +97,11 @@ Boards.helpers({
|
|||
},
|
||||
|
||||
labelIndex(labelId) {
|
||||
return _.indexOf(_.pluck(this.labels, '_id'), labelId);
|
||||
return _.pluck(this.labels, '_id').indexOf(labelId);
|
||||
},
|
||||
|
||||
memberIndex(memberId) {
|
||||
return _.indexOf(_.pluck(this.members, 'userId'), memberId);
|
||||
return _.pluck(this.members, 'userId').indexOf(memberId);
|
||||
},
|
||||
|
||||
absoluteUrl() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue