function createOptionText(option, showVersionAccessibility) {
        var optionText = option.text();
        if (showVersionAccessibility) {
            var versionAccessible = option.attr('data-version-accessible');
            if (versionAccessible) {
                optionText += ' <span style="float: right; margin-left: 0.8em; color: #dddddd;';
                if (versionAccessible === 'true') {
                    optionText += 'visibility: hidden;';
                }
                optionText += '" class="k15t-icon-viewport"></span>';
            }
        }
        return optionText;
    }
/** Create the text for the drop-down entries (version entries may contain some extra info other than the property name). */
Create the text for the drop-down entries (version entries may contain some extra info other than the property name).
Create the text for the drop - down entries ( version entries may contain some extra info other than the property name ) .
function createOptionText(option, showVersionAccessibility) {
        var optionText = option.text();
        if (showVersionAccessibility) {
            var versionAccessible = option.attr('data-version-accessible');
            if (versionAccessible) {
                optionText += ' <span style="float: right; margin-left: 0.8em; color: #dddddd;';
                if (versionAccessible === 'true') {
                    optionText += 'visibility: hidden;';
                }
                optionText += '" class="k15t-icon-viewport"></span>';
            }
        }
        return optionText;
    }
function createOptionText ( option , showVersionAccessibility ) { var optionText = option . text ( ) ; if ( showVersionAccessibility ) { var versionAccessible = option . attr ( 'data-version-accessible' ) ; if ( versionAccessible ) { optionText += ' <span style="float: right; margin-left: 0.8em; color: #dddddd;' ; if ( versionAccessible === 'true' ) { optionText += 'visibility: hidden;' ; } optionText += '" class="k15t-icon-viewport"></span>' ; } } return optionText ; }
Create the text for the drop-down entries (version entries may contain some extra info other than the property name).
Create the text for the drop - down entries ( version entries may contain some extra info other than the property name ) .