Skip to content

Commit

Permalink
void -> null
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 29, 2017
1 parent 91ba4fb commit 7407886
Show file tree
Hide file tree
Showing 13 changed files with 91 additions and 91 deletions.
2 changes: 1 addition & 1 deletion controls/class-kirki-controls.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function __construct() {
*
* @access public
* @since 3.0.17
* @return void
* @return null
*/
public function underscore_templates() {
foreach ( $this->templates as $template ) {
Expand Down
48 changes: 24 additions & 24 deletions controls/js/dist/script-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ var kirki = {
* Initialize the object.
*
* @since 3.0.17
* @returns {void}
* @returns {null}
*/
initialize: function() {
var self = this;
Expand Down Expand Up @@ -252,7 +252,7 @@ var kirki = {
*
* @since 3.0.17
* @param {Object} control - The customizer control object.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var self = this;
Expand All @@ -277,7 +277,7 @@ var kirki = {
* @param {string} control.params.default - The default value.
* @param {Object} control.params.choices - Any extra choices we may need.
* @param {string} control.id - The setting.
* @returns {void}
* @returns {null}
*/
template: function( control ) {
var template = wp.template( 'kirki-input-radio' );
Expand Down Expand Up @@ -305,7 +305,7 @@ var kirki = {
*
* @since 3.0.16
* @param {Object} control - The customizer control object.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var self = this;
Expand Down Expand Up @@ -335,7 +335,7 @@ var kirki = {
* @param {Object} control.params.choices - Any extra choices we may need.
* @param {boolean} control.params.choices.alpha - should we add an alpha channel?
* @param {string} control.id - The setting.
* @returns {void}
* @returns {null}
*/
template: function( control ) {
var template = wp.template( 'kirki-input-color' );
Expand Down Expand Up @@ -368,7 +368,7 @@ var kirki = {
* @param {Object} control.params - Control parameters.
* @param {Object} control.params.choices - Define the specifics for this input.
* @param {string} control.params.choices.element - The HTML element we want to use ('input', 'div', 'span' etc).
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var self = this;
Expand Down Expand Up @@ -397,7 +397,7 @@ var kirki = {
* @param {Object} control.params.choices - Any extra choices we may need.
* @param {boolean} control.params.choices.alpha - should we add an alpha channel?
* @param {string} control.id - The setting.
* @returns {void}
* @returns {null}
*/
template: function( control ) {
var args = {
Expand Down Expand Up @@ -427,7 +427,7 @@ var kirki = {
*
* @since 3.0.17
* @param {Object} control - The customizer control object.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var self = this;
Expand All @@ -451,7 +451,7 @@ var kirki = {
* @param {Object} control.params.default - The default value.
* @param {Object} control.params.choices - The choices for the select dropdown.
* @param {string} control.id - The setting.
* @returns {void}
* @returns {null}
*/
template: function( control ) {
var template = wp.template( 'kirki-input-select' );
Expand Down Expand Up @@ -489,7 +489,7 @@ var kirki = {
* @since 3.0.17
* @param {Object} control - The control object.
* @param {Object} control.id - The setting.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var input = jQuery( 'input[data-id="' + control.id + '"]' );
Expand Down Expand Up @@ -518,7 +518,7 @@ var kirki = {
* @param {Object} control.params - Control parameters.
* @param {Object} control.params.choices - alias for control.choices.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var picker = jQuery( '.kirki-color-control[data-id="' + control.id + '"]' ),
Expand Down Expand Up @@ -570,7 +570,7 @@ var kirki = {
* @since 3.0.17
* @param {Object} control - The control object.
* @param {Object} control.id - The setting.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var input = jQuery( 'input[data-id="' + control.id + '"]' );
Expand All @@ -595,7 +595,7 @@ var kirki = {
* @since 3.0.17
* @param {Object} control - The control object.
* @param {Object} control.id - The setting.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var textarea = jQuery( 'textarea[data-id="' + control.id + '"]' );
Expand All @@ -615,7 +615,7 @@ var kirki = {
* @since 3.0.17
* @param {Object} control - The control object.
* @param {Object} control.id - The setting.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
var element = jQuery( 'select[data-id="' + control.id + '"]' ),
Expand Down Expand Up @@ -703,7 +703,7 @@ var kirki = {
*
* @since 3.0.17
* @param {Object} control - The control object.
* @returns {void}
* @returns {null}
*/
init: function( control ) {
}
Expand Down Expand Up @@ -774,7 +774,7 @@ var kirki = {
* @param {mixed} value - Depends on the control-type.
* @param {string} key - If we only want to save an item in an object
* we can define the key here.
* @returns {void}
* @returns {null}
*/
set: function( element, value, key ) {
var setting,
Expand Down Expand Up @@ -894,7 +894,7 @@ var kirki = {
* Init for google-fonts.
*
* @since 3.0.17
* @returns {void}
* @returns {null}
*/
initialize: function() {
var self = this;
Expand All @@ -906,7 +906,7 @@ var kirki = {
* Set fonts in this.fonts
*
* @since 3.0.17
* @returns {void}
* @returns {null}
*/
setFonts: function() {
var self = this,
Expand Down Expand Up @@ -1044,7 +1044,7 @@ kirki.initialize();
* should be changed in Core to be applied once the control is embedded.
*
* @private
* @returns {void}
* @returns {null}
*/
_setUpSettingRootLinks: function() {
var control = this,
Expand All @@ -1066,7 +1066,7 @@ kirki.initialize();
* Add bidirectional data binding links between inputs and the setting properties.
*
* @private
* @returns {void}
* @returns {null}
*/
_setUpSettingPropertyLinks: function() {
var control = this,
Expand Down Expand Up @@ -1127,7 +1127,7 @@ kirki.initialize();
* so that the control isn't embedded on load,
* unless the containing section is already expanded.
*
* @returns {void}
* @returns {null}
*/
embed: function() {
var control = this,
Expand Down Expand Up @@ -1156,7 +1156,7 @@ kirki.initialize();
* This function is called in Section.onChangeExpanded() so the control
* will only get embedded when the Section is first expanded.
*
* @returns {void}
* @returns {null}
*/
actuallyEmbed: function() {
var control = this;
Expand All @@ -1171,7 +1171,7 @@ kirki.initialize();
* This is not working with autofocus.
*
* @param {object} [args] Args.
* @returns {void}
* @returns {null}
*/
focus: function( args ) {
var control = this;
Expand All @@ -1183,7 +1183,7 @@ kirki.initialize();
* Additional actions that run on ready.
*
* @param {object} [args] Args.
* @returns {void}
* @returns {null}
*/
initKirkiControl: function( control ) {
if ( 'undefined' !== typeof kirki.control[ control.params.type ] ) {
Expand Down
2 changes: 1 addition & 1 deletion controls/js/dist/script-legacy.min.js

Large diffs are not rendered by default.

0 comments on commit 7407886

Please sign in to comment.