[wp-trac] [WordPress Trac] #28510: Split javascript files in media into modules

WordPress Trac noreply at wordpress.org
Mon Feb 9 16:00:47 UTC 2015


#28510: Split javascript files in media into modules
----------------------------+-----------------------------
 Reporter:  ericlewis       |       Owner:  wonderboymusic
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.2
Component:  Media           |     Version:  3.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"31385"]:
 {{{
 #!CommitTicketReference repository="" revision="31385"
 Media JS files:

 * In media manifests, ditch IIFEs and global injection, these get
 dynamically scoped via Browserify
 * Remove the `debug` option from `browserify:media`
 * Add `jshint:media` to `jshint:corejs`
 * Add a trailing newline to all new module files

 Props iseulde.
 See #28510.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28510#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list