Make WordPress Core

Opened 12 years ago

Closed 16 months ago

Last modified 14 months ago

#30181 closed task (blessed) (maybelater)

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

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

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 12 years ago.
Initial patch: ​https://github.com/xwpco/wordpress-develop/pull/42

Download all attachments as: .zip

Change History (8)

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


11 years ago

#2 @celloexpressions
11 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
11 years ago

  • Priority low → lowest

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


10 years ago

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


10 years ago

#6 @westonruter
16 months ago

  • Resolution → maybelater
  • Status new → closed

#7 @desrosj
14 months ago

  • Milestone Future Release
Note: See TracTickets for help on using tickets.