Thread:Ohmystars/@comment-30384903-20150619160032/@comment-24409505-20150621184824

By the way, DEmersonJMFM, I checked your script code and the only difference between the two Ratings instances is just the text "Rate this episode/special", so there's no need to duplicate the rest of the code. You can optimize your code to this:

RW.init("B17ECAC4A69D1FE754BB4A55514F0D20", {   advanced: {        star: {            stars: 5        },        font: {            color: "#000",            size: "10px",            type: "arial"        },        layout: {            align: {                hor: "center",                ver: "top"            },            dir: "ltr"        }    },    size: "medium",    color: "yellow",    type: "star" }); RW.initClass( '1', {   advanced: {        text: {            rateThis: "Rate this episode"        },    } });

RW.initClass( '2', {   advanced: {        text: {            rateThis: "Rate this special"        },    } });