Polymer custom behavior generates lint error -


i have created custom behavior extends applocalizebehavior:

var jm = window.jm || {}; jm.applocalizebehavior = {     properties: {         myvar: string,         value: 'a string'     } } jm.applocalizebehavior = [polymer.applocalizebehavior, jm.applocalizebehavior]; 

my component imports behavior: ... behaviors: [jm.applocalizebehavior] ...

and dom-module has binding: [[localize('hello','name','john')]]

when run polymer lint error: computed binding method 'localize' not defined on element '...'

when change name jm.localizebehavior additionally: behavior jm.localizebehavior not found when mixing properties ...

using default polymer.applocalizebehavior not generate lint error.

what need add code prevent linting errors?


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -