Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improvement: can.list.pushAll and can.list.unshiftAll shortcuts #984
Currently it's not convenient to push/unshift arrays to can.List instances.
Can apporpriate shortcuts methods be added to can.List?
And then we just have
changed the title from
Improvement can.list.pushAll and can.list.unshiftAll shortcuts
Improvement: can.list.pushAll and can.list.unshiftAll shortcuts
May 12, 2014
Is there a pushAll on Array?
If not, I would rather see this go in a list extension plugin that we've wanted to add since we created CanJS, but have never had the time. If you'd like to work on that, we can add things like this there.
I think such small things are not reasonable to deliver in plugin as well. It can always be placed on prototype of those classes that need it.