Coffeescript: window.someList = [1, 2, 3, 4, 5] addOne = (item) -> 1 + item window.runThings = () -> addOne item for item in someList Coffeescript compiled to JavaScript: (function() { var addOne; window.someList = [1, 2, 3, 4, 5]; addOne = function(item) { return 1 + item; }; window.runThings = function() { var item, [...]
Follow Us
Random Quote
Curtiss: We will see.
Sean: I’m sure “we” will.
Curtiss: haha there are some days where I just want to murder you
Latest Blog Post
Latest Media
Reverse Psychology
Tags
.Net
Action
Ajax
Ajax Toolkit
Anonymous Types
ASP.Net
Attributes
Autocomplete
C#
Closures
Comic
CSS
Dynamic
Dynamic Controls
Editorial
Entity Framework
Expression
Func
Generics
HTML
Javascript
Join
jQuery
jQuery Validator
Lambda
Linq
Mocking
MVC
Nant
NUnit
One Off
Order By
Paging
Pylons
Python
Reflection
ScriptControl
Select
Stupid
Test
Thoughts
Unit Testing
Validation
WebControl
WebMethod
