#178 new
Gabriel Jürgens

__trim__ Function not available from Envjs.setCookie Method

Reported by Gabriel Jürgens | September 2nd, 2010 @ 12:33 PM

Hi! I'm bothering you, because I'm having some problems using cookies in Rhino. When setting a cookie, I get an error saying that the __trim__ function was not found.
I've done some debugging, and found that the Envjs.setCookie at env.rhino.js method is defined between a closure than do not includes this function.
If I add this __trim__ function doing a copy/paste inside the same closure which Envjs.setCookie resides, it works fine.

I'm not sure if what I'm doing is correct, but for now it's working.
I didn't had yet time to find out how the build process of Envjs works, but I think that there should be a missing reference to the __trim__.js file.

I hope this post helps to fix this issue (if you can understand my bad english! hehe).

Thanks for this great lib!
Gabriel

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

a javascript browser environment

People watching this ticket

Pages