UNPKG

@titanium/turbo

Version:

Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.

19 lines (14 loc) 304 B
var Alloy = require('/alloy'), _ = require('lodash'), model, collection; <%= modelJs %> model = Alloy.M('<%= basename %>', exports.definition, [<%= migrations %>] ); collection = Alloy.C('<%= basename %>', exports.definition, model ); exports.Model = model; exports.Collection = collection;