WordPress/js/dist
desrosj 4862c4aa96 Script loader: Register `@wordpress` scripts.
This allows the packages to be consumed by plugins and core itself.
The code has been based on the work done in the Gutenberg plugin.

We've added an array with all the packages and the vendor packages to
loop through. This sets a convention so all packages will be
registered in the same way. This array can eventually be generated by
a webpack plugin.

We need to register TinyMCE explicitly. Previously TinyMCE was used
by inserting custom `<script>` tags into the relevant admin pages.
This is not suitable for the new editor, so we need to explicitly
register TinyMCE. We could, in the future, refactor the custom
`<script>` tags to use the registered TinyMCE script instead.

Polyfills are inserted into the page only when necessary using
`document.write`.

Props omarreiss, herregroen, youknowriad, gziolo, atimmer.

Merges [43723] to trunk.

Fixes #45065.
Built from https://develop.svn.wordpress.org/trunk@44114


git-svn-id: http://core.svn.wordpress.org/trunk@43944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 16:50:36 +00:00
..
vendor Script loader: Register `@wordpress` scripts. 2018-12-13 16:50:36 +00:00
a11y.js
a11y.js.map
api-fetch.js
api-fetch.js.map
autop.js
autop.js.map
blob.js
blob.js.map
block-library.js
block-library.js.map
block-serialization-default-parser.js
block-serialization-default-parser.js.map
blocks.js
blocks.js.map
components.js
components.js.map
compose.js
compose.js.map
core-data.js
core-data.js.map
data.js
data.js.map
date.js
date.js.map
deprecated.js
deprecated.js.map
dom-ready.js
dom-ready.js.map
dom.js
dom.js.map
edit-post.js
edit-post.js.map
editor.js
editor.js.map
element.js
element.js.map
escape-html.js
escape-html.js.map
hooks.js
hooks.js.map
html-entities.js
html-entities.js.map
i18n.js
i18n.js.map
is-shallow-equal.js
is-shallow-equal.js.map
keycodes.js
keycodes.js.map
list-reusable-blocks.js
list-reusable-blocks.js.map
nux.js
nux.js.map
plugins.js
plugins.js.map
redux-routine.js
redux-routine.js.map
rich-text.js
rich-text.js.map
shortcode.js
shortcode.js.map
token-list.js
token-list.js.map
url.js
url.js.map
viewport.js
viewport.js.map
wordcount.js
wordcount.js.map