[wp-trac] [WordPress Trac] #28510: Split javascript files in media into modules
WordPress Trac
noreply at wordpress.org
Mon Feb 9 00:42:31 UTC 2015
#28510: Split javascript files in media into modules
-------------------------+-----------------------------
Reporter: ericlewis | Owner: wonderboymusic
Type: enhancement | 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:"31373"]:
{{{
#!CommitTicketReference repository="" revision="31373"
Split the media JS files into modules:
* Add a new folder in `wp-includes/js`, `media`
* Create manifest files for `views`, `models`, `grid`, and `audio-video`
* Make `browserify` an `npm` dependency
* Add Grunt tasks for `browserify` and `uglify:media` on `build` and
`watch`
* Update the paths loaded for media files in `script-loader`
* All new files were created using `svn cp` from their original location
Please run `npm install`. While developing media JS, you must run `grunt
watch`.
See #28510.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28510#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list