-
-
Save mxriverlynn/607a247258da95bd6c79c290a6e2cdaf to your computer and use it in GitHub Desktop.
undefined is not a function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (VENDOR && _.isFunction(VENDOR.f)) { | |
VENDOR.f(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var awesomeThings = { | |
doStuff: function(){ | |
var that = this; | |
$(".thing").click(function(){ | |
this.doAwesomeStuff(); | |
}); | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should be that on line 8