Bug #2295

showtime.RichText is not available in duktape

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:10/28/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:API
Target version:4.8
Found in version:4.7.397 Platform:Linux

Description

ECMASCRIPT [ERROR]: TypeError (not constructable) at file:///root/showtime-plugins/baskino/baskino.js:697
ECMASCRIPT [ERROR]: STACK DUMP: TypeError: not constructable
                        duk_api_call.c:396
                        anon file:///root/showtime-plugins/baskino/baskino.js:697 preventsyield
                        apply  native strict preventsyield
                        anon duk_bi_global.c:108 preventsyield

page.appendItem(PREFIX + ':index:' + escape(BASE_URL + match1), 'video', {
title: new showtime.RichText(match2),
icon: match3,
description: new showtime.RichText(coloredStr('Режиссер: ', orange) + match4)
});
            page.appendItem(PREFIX + ':index:' + escape(BASE_URL + match[1]), 'video', {
                title: new showtime.RichText(match[2]),
                icon: match[3],
                description: new showtime.RichText(coloredStr('Режиссер: ', orange) + match[4])
            });

Associated revisions

Revision 830bec3a
Added by Andreas Smas over 6 years ago

ecmascript: Add RichText support

Fixes #2295

Change included in version 4.7.399

History

#1 Updated by Andreas Smas over 6 years ago

  • Target version set to 4.8

#2 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF