cloudinary icon indicating copy to clipboard operation
cloudinary copied to clipboard

TypeError: undefined is not an object (evaluating '_cloudinary.after.update')

Open applecat opened this issue 10 years ago • 0 comments

When try to use this code client side:

_cloudinary.after.update(function(user,file){
    if(file.percent_uploaded === 100 && !file.uploading){
        console.log(file);
    }
})

got this error:

TypeError: undefined is not an object (evaluating '_cloudinary.after.update')

Seems to be _cloudinary object doesn't have .after attribute/method:

[Log] Object (admin.js, line 1)
_collection: Object
_connection: null
_insecure: undefined
_makeNewID: function () { // 71
_name: null
_restricted: false
_transform: null
_validators: Object
__proto__: Object

applecat avatar Dec 14 '14 21:12 applecat