Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12247] Add map/reduce and filter functionality for the Array class #4410

Closed
icinga-migration opened this issue Jul 28, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Jul 28, 2016

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12247

Created by mfriedrich on 2016-07-28 12:49:31 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-07-29 08:50:05 +00:00)
Target Version: 2.5.0
Last Update: 2016-07-29 08:50:05 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Array.prototype.filter = function(p) { var res = []; for (o in this) { if (p(o)) { res.add(o) } }; res }
Array.prototype.map = function(m) { var res = []; for (o in this) { res.add(m(o)) }; res }
Array.prototype.uniq = function() { var res = []; for (o in this) { if (o !in res) { res.add(o) } }; res }

Changesets

2016-07-29 08:48:15 +00:00 by gbeutner a3815e4

Add map/reduce and filter functionality for the Array class

fixes #12247

2016-07-29 09:09:46 +00:00 by gbeutner ee75094

Change how Array#reduce works

refs #12247

2016-07-29 12:11:52 +00:00 by gbeutner 546bdbc

'Sandboxed' property isn't properly propagated to child frames

refs #12247

2016-08-11 12:15:07 +00:00 by mfriedrich 8b12683

Docs: Fix incorrect anchors for Array#{filter,unique}

refs #12247
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jul 29, 2016

Updated by gbeutner on 2016-07-29 07:15:34 +00:00

  • Subject changed from Add more builtin prototype methods to Add map/reduce and filter functionality for the Array class
  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.5.0
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jul 29, 2016

Updated by gbeutner on 2016-07-29 08:50:05 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset a3815e4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.