Hi Alex,

I think I have something, I'll explain later. I need to know how and where
the returning obj is write
I'm getting the "background" property (as I see with a trace) but this
continues to not be write in the resulting HTML, os I think there's a block
in the final dump of the obj

2016-11-09 19:51 GMT+01:00 Alex Harui <aha...@adobe.com>:

>
>
> On 11/9/16, 10:31 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com>
> wrote:
>
> >Hi Alex,
> >
> >maybe you said ";" and you want to say "/", I think the algorithm should
> >break in:
> >
> >parts[0] -> color: #666
> >parts[1] -> height: 176px
> >parts[2] -> background: url('assets/Unknown.jpeg') center / cover
>
> I agree those should be the parts, which is why you have to split on ';'
> and not '/', but given that your original string ended with ';', I was
> thinking you were also getting:
>
>   parts[3] -> ""
>
> I would recommend checking via a debugger or console output.
>
> >
> >and then when reach the latest, split in:
> >
> >pieces = ["background", "url('assets/Unknown.jpeg') center / cover"]
>
> I agree again, which is why that split is based on ':'.  But if the code
> tried to split a parts[3] that was an empty string, then you would just
> get:
>
>   pieces = [""];
>
> And then pieces[1] would be null.
>
> Again, I would recommend checking via a debugger or console output.
>
> >
> >Anyway, if I try to reduce to this:
> >
> ><mdl:CardTitle style="color: #666;height: 176px;
> >background:url('assets/Unknown.jpeg')">
> >
> >I continue having the same null error.
> >
>
> I don't know why that would be, but I would recommend using a debugger and
> or console output to verify the number of parts and pieces and what they
> are.
>
> HTH,
> -Alex
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to