Make WordPress Core

Opened 9 years ago

Last modified 7 years ago

#30181 new task (blessed)

Add more Underscore.js array methods to wp.customize.Values and re-use _ for Customizer JS methods

Reported by: westonruter's profile westonruter Owned by:
Milestone: Future Release Priority: lowest
Severity: normal Version: 3.4
Component: Customize Keywords: needs-patch
Focuses: javascript Cc:

Description

Now that the Customizer explicitly uses Underscores.js (#26061), we should re-use Underscore.js as much as possible to eliminate duplicated logic, and to flesh out our Customizer models to have an API consistent with Backbone models.

This depends on having QUnit tests (#28579).

Attachments (1)

30181.diff (1.3 KB) - added by westonruter 9 years ago.
Initial patch: https://github.com/xwpco/wordpress-develop/pull/42

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.


9 years ago

#2 @celloexpressions
9 years ago

Is this something that we should be targeting to do any time soon, or can it continue waiting until someone has time to flesh out?

#3 @westonruter
9 years ago

  • Priority changed from low to lowest

This ticket was mentioned in Slack in #core-customize by westonruter. View the logs.


7 years ago

This ticket was mentioned in Slack in #core-customize by melchoyce. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.