Make WordPress Core


Ignore:
Timestamp:
02/14/2019 12:06:39 AM (6 years ago)
Author:
peterwilsoncc
Message:

Build: Remove source map from jquery.form.min.js.

Minimize jquery.form.js as part of build process to remove the source map reference.

Modify source map tests to include all JavaScript files rather than testing Backbone and jQuery only.

Props pento.
Fixes #46218.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/dependencies/jquery.php

    r42343 r44740  
    8484
    8585    /**
    86      * @ticket 24994
    87      */
    88     function test_exclusion_of_sourcemaps() {
    89         $contents = trim( file_get_contents( ABSPATH . WPINC . '/js/jquery/jquery.js' ) );
    90         $this->assertFalse( strpos( $contents, 'sourceMappingURL' ), 'Presence of sourceMappingURL' );
    91     }
    92 
    93     /**
    9486     * @ticket 28404
    9587     */
Note: See TracChangeset for help on using the changeset viewer.