strange behavior with + notation

1 view
Skip to first unread message

tfreitas

unread,
Dec 16, 2009, 10:54:26 PM12/16/09
to JavaScript Templates Engine PURE
Hi Mic

with the last pure, in Firefox, the + notation repeated content,
in chrome is OK and IE I have not tried

http://gist.github.com/258512

the FF result:
Ver más
5050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050...

the chrome result:
Ver más 50

Mic Cvilic

unread,
Dec 17, 2009, 3:57:52 AM12/17/09
to pure-unobtrusive...@googlegroups.com
It looks I've introduced this bug when I changed replaceWith the Dec 11th.
I reversed the change and it works now.

Just a comment about internationalisation.

I see you are using: "Ver más"

instead of: "Ver m�s" and adding the following meta,
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ?

Thanks for the fast report.
Mic

On 17/12/09 04:54, tfreitas wrote:
> Hi Mic
>
> with the last pure, in Firefox, the + notation repeated content,
> in chrome is OK and IE I have not tried
>
> http://gist.github.com/258512
>
> the FF result:

> Ver m�s
> 5050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050...
>
> the chrome result:
> Ver m�s 50
>
> --
>
> You received this message because you are subscribed to the Google Groups "JavaScript Templates Engine PURE" group.
> To post to this group, send email to Pure-Unobtrusive...@googlegroups.com.
> To unsubscribe from this group, send email to Pure-Unobtrusive-Rende...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine?hl=en.
>
>
>

tfreitas

unread,
Dec 17, 2009, 6:12:10 PM12/17/09
to JavaScript Templates Engine PURE
Hi mic,

Yes, it's working:)

and let me test the internationalization.

Thanks

tfreitas

unread,
Dec 17, 2009, 6:39:09 PM12/17/09
to JavaScript Templates Engine PURE
I'm working on this page.

http://gist.github.com/259132

and works perfect:
- Linux FF and Chrome
- Windos FF

but in IE8
works and rendering, showing a javascript error

"Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322)
Fecha: Thu, 17 Dec 2009 23:18:10 UTC

Mensaje: HTML Parsing Error: Unable to modify the parent container
element before the child element is closed (KB927917)
Lnea: 0
Carcter: 0
Cdigo: 0"

any suggestions?

tfreitas

unread,
Dec 17, 2009, 6:54:22 PM12/17/09
to JavaScript Templates Engine PURE
I did my homework;)

The problem is that JavaScript code that tries to modify the parent of
a DOM-node from the node a child before the child is finished loading.

I use "jQuery (document). Ready ()" for render
and it works perfect in IE8

Thanks

Reply all
Reply to author
Forward
0 new messages