Go to file
Dominik Schilling (ocean90) 571d574b09 Customizer: Don't trigger a change event if two unchanged object values are equal.
In JavaScript: `{"title":"Foo"} !== {"title":"Foo"}`
Underscore.js provides an isEqual function to compare two values to see if they have the same contents, which can be use instead.
Because only one function of Underscore.js is needed we just add a copy of `_.isEqual` to customize-base.js.

props westonruter.
fixes #26061.

git-svn-id: https://develop.svn.wordpress.org/trunk@26548 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:07:49 +00:00
src Customizer: Don't trigger a change event if two unchanged object values are equal. 2013-12-03 00:07:49 +00:00
tests Change comments in unit test to reflect patched scenario in #26339. 2013-12-02 00:03:39 +00:00
tools/i18n Extract: rename method `extract_entries` to `extract_from_code` 2013-10-26 00:54:27 +00:00
.gitignore Don't remove the compiled.html QUnit file. Ignore it instead. 2013-11-12 23:20:28 +00:00
.jshintrc Remove smarttabs from .jshintrc per IRC discussion. see #25187. 2013-11-13 19:23:16 +00:00
.travis.yml Add a Travis CI configuration file. 2013-12-02 19:41:26 +00:00
Gruntfile.js Fix JSHint errors in Gruntfile.js. 2013-11-19 10:41:05 +00:00
package.json Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency. 2013-11-13 23:37:30 +00:00
phpunit.xml.dist
wp-config-sample.php Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
wp-tests-config-sample.php Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00