Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter van der Woude PandaWood

View GitHub Profile
View gist:569511
var releaseHeldCells;
releaseHeldCells = function() {
return $('.held').each(function() {
return clearHold(this);
});
};
View gist:569510
releaseHeldCells = -> $('.held').each -> clearHold(this)
View gist:522573
loadList: ->
$.Enumerable.Range(1, 10)
.Where( (i)-> i % 2 == 0 )
.OrderByDescending( (i)-> i )
.Select( (i)-> $("<option>").text(i).val(i) )
.TojQuery()
.appendTo "#select1"
false
You can’t perform that action at this time.