     boolean: new tangojs.struct.DbDatum('boolean', true)
 
   attributes:
-    scalar: createAttribute(0
+    scalar: createAttribute(0,
                             'scalar',
                             'u',
                             tangojs.tango.AttrDataFormat.SCALAR,

 ###
createDevice = (name) ->

  get_status: -> 'ON'
  get_state: -> tangojs.tango.DevState.ON

  get_info: -> new tangojs.struct.DeviceInfo
    exported: true

    standard_unit: unit
    writable: writable
    writable_attr_name: undefined
  get_value: -> createDeviceAttributeStruct(name, data_format, _value)
  set_value: (v) ->
    _value = v

