Sha256: 76dc05d7c5cba0eb1fc01a8a1d3cba33c0b02c5bc6f5a605d3177986a5d5c020

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

rio.models.<%= class_name %> = rio.Model.create("<%= class_name %>", {
	require: [],
	resource: "/<%= file_name %>s",
	attrAccessors: [<%= attributes.map {|attr| "\"#{ attr.camelize.sub(/./) { |a| a.downcase } }\"" }.join(", ") %>],
	attrReaders: [],
	methods: {

	}
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
riojs-0.0.7 generators/rio_model/templates/model.js
riojs-0.0.6 generators/rio_model/templates/model.js
riojs-0.0.5 generators/rio_model/templates/model.js
riojs-0.0.4 generators/rio_model/templates/model.js
riojs-0.0.3 generators/rio_model/templates/model.js
riojs-0.0.2 generators/rio_model/templates/model.js
riojs-0.0.1 generators/rio_model/templates/model.js
riojs-0.0.0 generators/rio_model/templates/model.js