Concerning this, I have a question related to the module pattern of Doulgas Crockford (closure binding in order to ...
What is best practice to get a variable outside of its anonymous function without polluting the global namespace?
I'm trying to access to a class variable through an instance method through an eval (Function)
@classVariable = "helow"
class Bar extends Foo
bar: -> (new Function("console.log(Foo.classVariable)")).call @
Can anyone explain why this won't work? I am just running this off of the CoffeeScript page's "Try Coffeescript now" thing and my Chrome console logs the "nope" as you'll see ...
I'm building an app with offline functionality and am working with with WebSQL (I know it's deprecated, but it's what comes with PhoneGap)
I want to create an SQL find function that ...
I'm new to CoffeeScript and trying to understand how to refactor this example. Since both functions share canvas and context is there a way to pull them out side the ...
I have a class
map = null
userLocationMarker = null
makeMap: (location) ->