Skip to content

Instantly share code, notes, and snippets.

@camkidman
Created April 14, 2016 15:28
Show Gist options
  • Save camkidman/da090217e493cb37faafedf4ef73b352 to your computer and use it in GitHub Desktop.
Save camkidman/da090217e493cb37faafedf4ef73b352 to your computer and use it in GitHub Desktop.
export class Shit {
potentialLocations = [];
defFunction() {
someOtherFunctionThatReturnsAnArray( function(returnedArray) {
this.potentialLocations = returnedArray;
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment