Ticket #7295 (closed enhancement: fixed)

Opened 11 months ago

Last modified 5 months ago

Make _mapIntoDojo accessible outside of _base/NodeList.js

Reported by: dante Owned by: alex
Priority: normal Milestone: 1.3
Component: Core Version: 1.1.1
Severity: normal Keywords:
Cc: alex, elazutkin

Description

the "private" _mapIntoDojo function is currently hidden within an anonymous scope in Nodelist.js -- I would like to see this useful function extracted, or at least accessible outside of that scope.

patch attached.

This only allows dojo.* namespaced functions to be mapped in, but is a caveat I am prepared to workaround.

Attachments

mapin.patch (1.1 kB) - added by dante 11 months ago.

Change History

Changed 11 months ago by dante

Changed 11 months ago by dante

  • cc alex added; dante removed
  • owner changed from alex to dante
  • status changed from new to assigned
  • component changed from General to Core
  • milestone changed from tbd to 1.3

after talking w/ Alex, we should probably rename mapIntoDojo to mapIn, and allow it to accept a scope (matching api with dojo.partial), and expose it as proposed above. Not super-pressing, but I'd like to see it done. Taking myself, and setting milestone to give adequate testing time.

Changed 9 months ago by dante

  • owner changed from dante to alex
  • status changed from assigned to new

Changed 7 months ago by elazutkin

  • cc elazutkin added

Changed 5 months ago by alex

  • status changed from new to closed
  • resolution set to fixed

(In [16615]) exposing _mapIntoDojo, but renaming to _mapIn. Fixes #7295. !strict

Note: See TracTickets for help on using tickets.