2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/common/index.js

18 lines
506 B
JavaScript
Raw Normal View History

2018-01-08 12:30:14 +00:00
const utils = require('../utils');
const models = require('../model/models');
const model = require('../model');
const _document = require('../model/document');
const meta = require('../model/meta');
const _session = require('../session');
module.exports = {
2018-01-12 12:25:07 +00:00
init_libs(frappe) {
Object.assign(frappe, utils);
frappe.model = model;
frappe.models = new models.Models();
frappe.document = _document;
frappe.meta = meta;
frappe._session = _session;
}
2018-01-08 12:30:14 +00:00
}