Changes between Initial Version and Version 1 of Ticket #25244, comment 9
- Timestamp:
- 01/02/2015 06:22:40 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25244, comment 9
initial v1 3 3 WordPress-specific source JS files (i.e. un-minified versions) can be loaded by toggling the SCRIPT_DEBUG constant ^[https://github.com/WordPress/WordPress/blob/4.1/wp-includes/script-loader.php#L69 1]^. 4 4 5 Some third-party scripts (e.g. Backbone.js, all jQuery UI modules) will only load the unminified version if loaded from the `src` directory^[https://github.com/WordPress/WordPress/blob/4.1/wp-includes/script-loader.php#L70 2]^. 5 Some third-party scripts (e.g. Backbone.js, all jQuery UI modules) will only load the unminified version if loaded from the `src` directory^[https://github.com/WordPress/WordPress/blob/4.1/wp-includes/script-loader.php#L70 2]^. Otherwise, the minified version of the script is loaded. 6 6 7 7 I propose we bring in the source and unminified versions for all third-party modules into the `src/` directory, and copy both in the build process. After that, modify the script loader to respect SCRIPT_DEBUG to the tee.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)