Closed ganesshkumar closed 11 years ago
Must've happened when I linted the code. I'll take a look once I'm near my computer.
Thanks!
jordan scales scalesjordan@gmail.com http://jordanscales.com
On Sun, Sep 1, 2013 at 5:03 PM, Ganessh Kumar notifications@github.com wrote:
Following is a line from the test.html in the repo
<span id="digit1" data-callback="bump(2)" >0</span>
when the callback function is actually called, it throws an errorUncaught TypeError: string is not a function dynamo.js:100
.I tried to log the type of the variable callback in dynamo.js and it said it returned
string
but afunction
is expectedReply to this email directly or view it on GitHub: https://github.com/jdan/dynamo.js/issues/18
I have looked into the code and found the cause of this issue. I can send you pull request with the fix
That'd be perfect :)
jordan scales scalesjordan@gmail.com http://jordanscales.com
On Sun, Sep 1, 2013 at 5:18 PM, Ganessh Kumar notifications@github.com wrote:
I have looked into the code and found the cause of this issue. I can send you pull request with the fix
Reply to this email directly or view it on GitHub: https://github.com/jdan/dynamo.js/issues/18#issuecomment-23633377
Following is a line from the test.html in the repo
<span id="digit1" data-callback="bump(2)" >0</span>
when the callback function is actually called, it throws an error
Uncaught TypeError: string is not a function dynamo.js:100
.I tried to log the type of the variable callback in dynamo.js and it said it returned
string
but afunction
is expected