c2e7a67fbe
* When overriding `Backbone.sync()`, ensure the `sync` and `error` events fire consistently. * `Model#make()` has been removed. Use `$` instead, and be sure to grab the DOM node where necessary (using `[0]`). * `Collection#get()` now accepts `cid`s. `Collection#getByCid()` has been removed. * When overriding the `State` constructor, bind `change` callbacks after the default `Model` constructor is called, because the `Model` constructor no longer passes the `silent` flag when calling `set()` for the default attributes. * In 'change' events, `options.changes` was removed. It can now be accessed through `model.changed`. Check if any attributes have changed by calling `model.hasChanged()`. Also, don't mess with `model.changed`; it persists beyond the scope of a single event. * `options.index` is no longer be set in the `add` event callback. Use `collection.indexOf(model)` can be used to retrieve the index of a model instead. props gcorne. fixes #23262. git-svn-id: https://develop.svn.wordpress.org/trunk@23589 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
crop | ||
imgareaselect | ||
jcrop | ||
jquery | ||
plupload | ||
swfupload | ||
thickbox | ||
tinymce | ||
admin-bar.js | ||
admin-bar.min.js | ||
autosave.js | ||
autosave.min.js | ||
backbone.min.js | ||
colorpicker.js | ||
colorpicker.min.js | ||
comment-reply.js | ||
comment-reply.min.js | ||
customize-base.js | ||
customize-base.min.js | ||
customize-loader.js | ||
customize-loader.min.js | ||
customize-preview.js | ||
customize-preview.min.js | ||
heartbeat.js | ||
hoverIntent.js | ||
hoverIntent.min.js | ||
json2.js | ||
json2.min.js | ||
mce-view.js | ||
mce-view.min.js | ||
media-editor.js | ||
media-editor.min.js | ||
media-models.js | ||
media-models.min.js | ||
media-views.js | ||
media-views.min.js | ||
quicktags.js | ||
quicktags.min.js | ||
shortcode.js | ||
shortcode.min.js | ||
swfobject.js | ||
template.js | ||
template.min.js | ||
tw-sack.js | ||
tw-sack.min.js | ||
underscore.min.js | ||
utils.js | ||
utils.min.js | ||
wp-ajax-response.js | ||
wp-ajax-response.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 | ||
wplink.js | ||
wplink.min.js |