mirror of
https://github.com/frappe/books.git
synced 2024-12-26 20:30:25 +00:00
17 lines
559 B
JavaScript
17 lines
559 B
JavaScript
const utils = require('../utils');
|
|
const numberFormat = require('../utils/numberFormat');
|
|
const format = require('../utils/format');
|
|
const errors = require('./errors');
|
|
const BaseDocument = require('frappejs/model/document');
|
|
const BaseMeta = require('frappejs/model/meta');
|
|
|
|
module.exports = {
|
|
initLibs(frappe) {
|
|
Object.assign(frappe, utils);
|
|
Object.assign(frappe, numberFormat);
|
|
Object.assign(frappe, format);
|
|
frappe.errors = errors;
|
|
frappe.BaseDocument = BaseDocument;
|
|
frappe.BaseMeta = BaseMeta;
|
|
}
|
|
} |