Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback after percentage complete #1

Closed
ktch opened this issue Feb 25, 2012 · 6 comments
Closed

Callback after percentage complete #1

ktch opened this issue Feb 25, 2012 · 6 comments

Comments

@ktch
Copy link

ktch commented Feb 25, 2012

I have been trying to get this to work for a while the way you describe in your instructions, but after further investigation, I am finding that there is absolutely no reference to "completeRatio" or "completeFunction" in the jQuery.eraser code.

Was something accidentally omitted in the commit?

@ktch
Copy link
Author

ktch commented Feb 25, 2012

Just for good measure, here is my code that is not working:

function showRedeemButton() {
            $('#redemption').animate({opacity: 1}, 1200, function(){});
        }

        function init(event) {
            $("#latex").eraser({
                completeRatio: .5,
                completeFunction: showRedeemButton()
            });
        }

        addEventListener( "load", init, false );```

@boblemarin
Copy link
Owner

Ooops. Sorry.
I'll check that ASAP and let you know.
Le 25 févr. 2012 10:53, "the Kitchen" <
reply@reply.github.com>
a écrit :

I have been trying to get this to work for a while the way you describe in
your instructions, but after further investigation, I am finding that there
is absolutely no reference to "completeRatio" or "completeFunction" in the
jQuery.eraser code.

Was something accidentally omitted in the commit?


Reply to this email directly or view it on GitHub:
#1

@ktch
Copy link
Author

ktch commented Feb 25, 2012

No worries at all. Thank you for making this. It's just what I needed.

@boblemarin
Copy link
Owner

Pleasure is mine.

The repo is in order now, I've commited the REAL last version.
Sorry for the mess.

@ktch
Copy link
Author

ktch commented Feb 25, 2012

Beautiful. Works great. Thank you again!

@boblemarin
Copy link
Owner

Cool. Have fun !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant