Sha256: 744d57f42a60c327daff3489ff9471553a5fda43a21b01a605c2551b3f01a618
Contents?: true
Size: 444 Bytes
Versions: 60
Compression:
Stored size: 444 Bytes
Contents
root = exports ? window # TODO better way to get core model definition # model = require ... # TODO implement method # model[resource].validators_on 'field' # Get all validators related to this field extend = require('assimilate') extensions = model: human_attribute_name: (attribute_name) -> @translation?.attributes?[attribute_name] or attribute_name model.mix (modelable) -> extend modelable, extensions.model
Version data entries
60 entries across 60 versions & 1 rubygems