2
0
mirror of https://github.com/frappe/books.git synced 2025-01-24 15:48:25 +00:00
books/frappe/common/index.js

16 lines
434 B
JavaScript
Raw Normal View History

2018-01-08 18:00:14 +05:30
const utils = require('../utils');
2018-02-14 18:20:56 +05:30
const format = require('../utils/format');
const errors = require('./errors');
const BaseDocument = require('frappe/model/document');
const BaseMeta = require('frappe/model/meta');
2018-01-08 18:00:14 +05:30
module.exports = {
2021-12-31 13:40:17 +05:30
initLibs(frappe) {
Object.assign(frappe, utils);
Object.assign(frappe, format);
frappe.errors = errors;
frappe.BaseDocument = BaseDocument;
frappe.BaseMeta = BaseMeta;
},
};