mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
17 lines
562 B
JavaScript
17 lines
562 B
JavaScript
const utils = require('../utils');
|
|
const number_format = require('../utils/number_format');
|
|
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, number_format);
|
|
Object.assign(frappe, format);
|
|
frappe.errors = errors;
|
|
frappe.BaseDocument = BaseDocument;
|
|
frappe.BaseMeta = BaseMeta;
|
|
}
|
|
} |