This question is a follow up question to this question. After upgrading to polymer 0.8.7 the following code stopped working:
DocumentFragment instanceTemplate(Element template) =>
template.createInstance(this,
new PolymerExpressions(globals: {
'splitnewline': (String input) => input.split("\n")
}));
Looks like Element
doesn't contain a method createInstance
anymore. How can I register a own polymer expression in polymer 0.8.7?
PS: I also used the method job()
in the past, does anybody know where I can find it now?