Skip to content

Instantly share code, notes, and snippets.

@joeytwiddle
Created October 30, 2012 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeytwiddle/3980560 to your computer and use it in GitHub Desktop.
Save joeytwiddle/3980560 to your computer and use it in GitHub Desktop.
Experimentum
class A
constructor: (@url, @data) ->
that = this
$.get @url, (data) =>
that.data = data
a = new A "/my-url/"
console.log a
console.log a.data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment