WordPress/wp-includes/js
Dominik Schilling 4693b25171 Update Backbone and Underscore to the latest versions.
Backbone, from 1.1.2 to 1.2.3. Underscore, from 1.6.0 to 1.8.3.

The new versions of Backbone and Underscore offer numerous small bug fixes and some optimizations and other improvements. Check the [http://backbonejs.org/#changelog Backbone changelog] and [http://underscorejs.org/#changelog Underscore changelog] for the full details. 

The new versions include some significant changes that may break existing code. Plugins or themes that rely on the bundled Backbone and/or Underscore libraries should carefully check functionality with the latest versions and run any available unit tests to ensure compatibility.

Some changes of note that were addressed in core as part of this upgrade:

* `_.flatten` no longer works with objects since Underscore.js 1.7. `_.flatten()` working with objects was an unintended side-affect of the implementation, see [https://github.com/jashkenas/underscore/issues/1904#issuecomment-60241576 underscore#1904]. Check any `_flatten` usage and only flatten arrays.
* As of Backbone 1.2.0, you can no longer modify the `events` hash or your view's `el` property in `initialize`, so don't try to modify them there. 
* Since Underscore 1.7, Underscore templates no longer accept an initial data object. `_.template` always returns a function now so make sure you use it that way.

Props adamsilverstein.
Fixes #34350.
Built from https://develop.svn.wordpress.org/trunk@36546


git-svn-id: http://core.svn.wordpress.org/trunk@36513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-17 15:22:26 +00:00
..
crop
imgareaselect
jcrop
jquery jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
mediaelement Media: When reusing the initial values from the global MediaElement config object, the config object should first be cloned. Objects in JS are references that will retain any changes. This fixes an issue where player controls could get mixed up between instances when multiple players (namely, single audio and audio playlists, in a certain order) are on the same page. 2016-01-20 15:47:28 +00:00
plupload
swfupload
thickbox
tinymce TinyMCE: fix removing a space before inline tags when applying formatting shortcuts. 2016-02-12 04:23:26 +00:00
admin-bar.js Toolbar: Restore scroll-to-top functionality. 2015-07-20 20:02:24 +00:00
admin-bar.min.js
autosave.js
autosave.min.js
backbone.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
colorpicker.js
colorpicker.min.js
comment-reply.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
comment-reply.min.js
customize-base.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-base.min.js
customize-loader.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-loader.min.js
customize-models.js
customize-models.min.js
customize-preview-nav-menus.js Customize: Ensure that nav menu items can be shift-clicked to edit in secondary instances of the same nav menu. 2016-02-13 00:12:25 +00:00
customize-preview-nav-menus.min.js Customize: Ensure that nav menu items can be shift-clicked to edit in secondary instances of the same nav menu. 2016-02-13 00:12:25 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js
customize-preview.js Customizer: Export nonce, theme, and url app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-preview.min.js Customizer: Export nonce, theme, and url app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-views.js
customize-views.min.js
heartbeat.js
heartbeat.min.js
hoverIntent.js
hoverIntent.min.js
json2.js
json2.min.js
masonry.min.js
mce-view.js
mce-view.min.js
media-audiovideo.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-audiovideo.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-editor.js
media-editor.min.js
media-grid.js
media-grid.min.js
media-models.js
media-models.min.js
media-views.js Media: when inserting an attachment in the editor and it is not an image, ensure the link is set to something else than none. 2016-01-04 00:33:28 +00:00
media-views.min.js Media: when inserting an attachment in the editor and it is not an image, ensure the link is set to something else than none. 2016-01-04 00:33:28 +00:00
quicktags.js
quicktags.min.js
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js
twemoji.min.js Emoji: Update emoji support to Unicode 8.0, including the Diversity set. 2015-12-31 01:30:27 +00:00
underscore.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
utils.js
utils.min.js
wp-a11y.js
wp-a11y.min.js
wp-ajax-response.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-ajax-response.min.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-auth-check.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-auth-check.min.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-backbone.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-backbone.min.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-embed-template.js
wp-embed-template.min.js
wp-embed.js
wp-embed.min.js
wp-emoji-loader.js Emoji: Work around a mod_security rule which prevents pages with 4 or more instances of String.fromCharCode( from being served. 2016-01-20 07:40:28 +00:00
wp-emoji-loader.min.js Emoji: Work around a mod_security rule which prevents pages with 4 or more instances of String.fromCharCode( from being served. 2016-01-20 07:40:28 +00:00
wp-emoji-release.min.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji.min.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-lists.min.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js
wp-util.min.js Add an abort class method to the Promise instance returned by wp.ajax.send(). 2015-06-13 14:30:26 +00:00
wpdialog.js
wpdialog.min.js
wplink.js
wplink.min.js
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js