1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Remove cla for separate PR, and clean up variable declaration.

This commit is contained in:
Matt Lauber 2015-11-13 11:30:06 -05:00
parent 35ce8c8b55
commit 8ccee5d015
2 changed files with 6 additions and 8 deletions

View File

@ -114,11 +114,11 @@ SelectWidget.prototype.getSelectDomNode = function() {
// Return an array of the selected opion values
// select is an HTML select element
SelectWidget.prototype.getSelectValues = function() {
var select = this.getSelectDomNode()
var result = [];
var options = select && select.options;
var opt;
for (var i=0, iLen=options.length; i<iLen; i++) {
var select, result, options, opt;
select = this.getSelectDomNode();
result = [];
options = select && select.options;
for (var i=0; i<options.length; i++) {
opt = options[i];
if (opt.selected) {
result.push(opt.value || opt.text);

View File

@ -255,6 +255,4 @@ Tony Grosinger @tgrosinger 2015/10/03
Antaeus Feldspar @afeldspar 2015/10/20
Soeren Enevoldsen, @senevoldsen90, 2015/10/09
Matthew Lauber, @mklauber, 2015/11/13
Soeren Enevoldsen, @senevoldsen90, 2015/10/09