@titanium/turbo
Version:
🚀 Axway Amplify tool to use Turbo for turbo charging your Appcelerator Titanium SDK Framework!
19 lines (14 loc) • 304 B
JavaScript
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;