WordPress/wp-includes/js
Gary Pendergast 922f83a69f Once upon a midnight dreary, while I coded, weak and weary,
In many a strange and curious file of forgotten lore—
While I pondered, blaming Nacin, my notifications suddenly awakened,
As of someone quietly DMing;—DMing me, I can’t ignore.
“’Tis some contributor,” I muttered, “DMing me an idea or four—
            Only this and nothing more.”

Ah, distinctly I remember, at WordCamp US, last December;
A mad proposal nearly laid me—down out cold—upon the floor.
Curious, I listened closely;—to a plan I agreed with, mostly—
A way to make our JavaScript—JavaScript which was a chore—
Maintainable, extendable, for the future, is what I saw.
            Guten-ready for evermore.

Open here I switch to Slack, when, with many a patch and hack,
In there stepped Omar, a JavaScript developer hardcore;
Pronouncing all the changes fit; ready now to be commit;
“There’s nothing else for us to do,” DMing me, “It’s done!” he swore—
“No longer random guessing at which file need next be explored—
            Let’s move on, we’re all aboard.”

Moved all together, grouped and managed, in folders all is packaged,
The code had all been cleaned and tidied, important parts moved to the fore,
“Though this change be useful here,” I said, “it is too large, I fear,
We couldn’t manage such a patch, we’ve done nothing like this before—
Tell me where doth go this change, change to make our codebase soar!”
            Quoth Omar, “In WordPress Core.”

Props omarreis for shepherding this significant change.
Props adamsilverstein, aduth, atimmer, dingo_bastard, frank-klein, gziolo, herregroen, jaswrks, jeremyfelt, jipmoors, jorbin, netweb, ocean90, pento, tjnowell, and youknowriad for testing, feedback, discussion, encouragement, commiserations, etc.
I make no apologies for this commit message.
Fixes #43055.


Built from https://develop.svn.wordpress.org/trunk@43309


git-svn-id: http://core.svn.wordpress.org/trunk@43138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-23 10:05:31 +00:00
..
codemirror Remove JSHint due to license compatibility 2018-01-23 01:29:32 +00:00
crop
imgareaselect Media: Update minified version of imgAreaSelect after [42874]. 2018-04-03 19:46:30 +00:00
jcrop
jquery Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
mediaelement Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize() API. 2018-01-29 23:56:29 +00:00
plupload Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:42:46 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce Privacy: change how the default text for privacy policy is added: 2018-05-03 17:13:21 +00:00
admin-bar.js
admin-bar.min.js
api-request.js REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:10:31 +00:00
api-request.min.js REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:10:31 +00:00
autosave.js Docs: Remove @summary tags from JSDoc. 2017-12-18 14:14:53 +00:00
autosave.min.js
backbone.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
backbone.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
colorpicker.js
colorpicker.min.js
comment-reply.js Docs: Remove @summary tags from JSDoc. 2017-12-18 14:14:53 +00:00
comment-reply.min.js Comments: Modernise JavaScript for comment reply links. 2017-12-03 22:37:45 +00:00
customize-base.js Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:42:46 +00:00
customize-base.min.js Customize: Constrain focus when overlay notification is displayed. 2017-10-10 03:34:53 +00:00
customize-loader.js Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in top window. 2017-10-09 16:04:48 +00:00
customize-loader.min.js Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in top window. 2017-10-09 16:04:48 +00:00
customize-models.js Customizer: Minimize duplicate header crops in the media library. 2017-10-04 14:59:48 +00:00
customize-models.min.js Customizer: Minimize duplicate header crops in the media library. 2017-10-04 14:59:48 +00:00
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js
customize-preview-widgets.js Docs: Improve JSDoc for customize-preview-widgets.js. 2017-12-21 15:12:49 +00:00
customize-preview-widgets.min.js Widgets: Update preview for Gallery widget when one of its attachments is modified in the media modal, outside the customized state. 2017-10-16 06:46:48 +00:00
customize-preview.js Customize: Prevent history.replaceState() and history.pushState() calls from causing error in customize preview before DOM ready. 2017-11-02 19:27:47 +00:00
customize-preview.min.js Customize: Prevent history.replaceState() and history.pushState() calls from causing error in customize preview before DOM ready. 2017-11-02 19:27:47 +00:00
customize-selective-refresh.js Docs: Fix typo in wp.customize.selectiveRefresh.placements() description. 2018-02-26 17:52:31 +00:00
customize-selective-refresh.min.js Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize() API. 2018-01-29 23:56:29 +00:00
customize-views.js
customize-views.min.js
heartbeat.js Docs: Improve JS Docs for wp-includes/js/heartbeat.js. 2017-12-12 14:33:54 +00:00
heartbeat.min.js Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:01:46 +00:00
hoverIntent.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
hoverIntent.min.js
imagesloaded.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
json2.js
json2.min.js
masonry.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
mce-view.js Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode. 2017-12-13 05:17:48 +00:00
mce-view.min.js Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode. 2017-12-13 05:17:48 +00:00
media-audiovideo.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-audiovideo.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-editor.js
media-editor.min.js
media-grid.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-grid.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-models.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-models.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-views.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-views.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
quicktags.js
quicktags.min.js
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
twemoji.min.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
underscore.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
utils.js
utils.min.js
wp-a11y.js File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins. 2017-10-04 00:20:45 +00:00
wp-a11y.min.js
wp-ajax-response.js General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
wp-ajax-response.min.js General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
wp-api.js REST API JavaScript Client: Support an empty string for nonce to disable sending the X-WP-Nonce header. 2018-03-18 17:21:30 +00:00
wp-api.min.js REST API JavaScript Client: Support an empty string for nonce to disable sending the X-WP-Nonce header. 2018-03-18 17:21:30 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js Docs: Improve JSDoc for wp-includes/js/wp-backbone.js. 2018-04-22 14:37:21 +00:00
wp-backbone.min.js
wp-custom-header.js
wp-custom-header.min.js
wp-embed-template.js
wp-embed-template.min.js
wp-embed.js
wp-embed.min.js
wp-emoji-loader.js Docs: Improve JSDoc for js/wp-emoji-loader.js. 2018-05-03 15:09:21 +00:00
wp-emoji-loader.min.js Emoji: Update Emoji browser support tests for Twemoji v2.4.0 2018-01-24 22:02:30 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji to 2.4.0. 2018-01-23 11:49:30 +00:00
wp-emoji.js
wp-emoji.min.js
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js
wp-lists.min.js
wp-pointer.js
wp-pointer.min.js
wp-sanitize.js Security: Rename new wp.sanitize.sanitizeText to stripTagsAndEncodeText.' 2017-10-04 18:58:47 +00:00
wp-sanitize.min.js Security: Rename new wp.sanitize.sanitizeText to stripTagsAndEncodeText.' 2017-10-04 18:58:47 +00:00
wp-util.js
wp-util.min.js
wpdialog.js Docs: Improve JSDoc for wp-includes.js/wpdialog.js. 2018-05-03 15:27:21 +00:00
wpdialog.min.js
wplink.js Accessibility: Insert Link modal: Improve keyboard interaction. 2018-03-08 20:58:30 +00:00
wplink.min.js Accessibility: Insert Link modal: Improve keyboard interaction. 2018-03-08 20:58:30 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js