Convert scripts to es6

This commit is contained in:
QWp6t
2016-07-16 02:17:16 -07:00
parent eae36be2c9
commit f34af480db
6 changed files with 39 additions and 38 deletions

View File

@@ -1,8 +1,5 @@
(function($) {
// Site title
wp.customize('blogname', function(value) {
value.bind(function(to) {
$('.brand').text(to);
});
});
})(jQuery);
import $ from 'jquery';
wp.customize('blogname', (value) => {
value.bind((to) => $('.brand').text(to))
});