sivarajankumar / text20

Automatically exported from code.google.com/p/text20
0 stars 0 forks source link

Calling tex20.core.deregister( spans ) yields TypeError #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Upon calling text20.core.deregister(spans) the following error is thrown to 
Safari console:
TypeError: Result of expression 'connector.transmitElementRemoved' [undefined] 
is not a function.

And at Chrome:
Uncaught TypeError: Object #<an Object> has no method 'transmitElementRemoved'

Code fragment:

if (data.allSpans) {
    text20.core.deregister(data.allSpans);
    data.allSpans = null;
}

Original issue reported on code.google.com by moh.h.sharaf@gmail.com on 28 Jul 2010 at 3:02

GoogleCodeExporter commented 8 years ago
Confirmed and fixed.

Original comment by r.biedert on 28 Jul 2010 at 4:00

GoogleCodeExporter commented 8 years ago
Safari Console:
TypeError: Result of expression 'self.variables' [undefined] is not an object.

Chrome:
Uncaught TypeError: Cannot read property 'batch' of undefined

Original comment by moh.h.sharaf@gmail.com on 28 Jul 2010 at 5:11

GoogleCodeExporter commented 8 years ago
Arrrgh.

Original comment by r.biedert on 29 Jul 2010 at 8:06

GoogleCodeExporter commented 8 years ago
Confirmed and fixed again.

Original comment by r.biedert on 29 Jul 2010 at 4:33

GoogleCodeExporter commented 8 years ago
Yup Yup...I tested it in my code also :)
Thx !!

Original comment by moh.h.sharaf@gmail.com on 30 Jul 2010 at 3:55