svghmi/widgets_common.ysl2
changeset 3412 04c4835ca376
parent 3408 13c5cac55ac7
child 3417 9b9775d230f5
equal deleted inserted replaced
3411:3e162ea3c726 3412:04c4835ca376
    82         }
    82         }
    83         if "position()!=last()" > ,
    83         if "position()!=last()" > ,
    84     }
    84     }
    85 
    85 
    86     const "freq" choose {
    86     const "freq" choose {
    87         when "$widget/freq"
    87         when "$widget/@freq"
    88             > «$widget/freq»
    88             > «$widget/@freq»
    89         otherwise
    89         otherwise
    90             > undefined
    90             > undefined
    91     }
    91     }
    92 
    92 
    93     |   "«@id»": new «$widget/@type»Widget ("«@id»",«$freq»,[«$args»],[«$indexes»],[«$minmaxes»],{
    93     |   "«@id»": new «$widget/@type»Widget ("«@id»",«$freq»,[«$args»],[«$indexes»],[«$minmaxes»],{