2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

removed dist bundle and added to gitignore

This commit is contained in:
Achilles Rasquinha 2018-02-02 14:52:15 +05:30
parent 76f3f669d3
commit 32a0190c82
4 changed files with 6 additions and 8547 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ test.db
*.log
.cache
/temp
dist

5773
dist/css/style.css vendored

File diff suppressed because it is too large Load Diff

2773
dist/js/bundle.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,8 @@ client.start({
container: document.querySelector('.wrapper'),
}).then(() => {
frappe.modules.session = require('frappejs/models/doctype/session/session.js')
// require modules
frappe.modules.todo = require('frappejs/models/doctype/todo/todo.js');
frappe.modules.account = require('../models/doctype/account/account.js');
@ -15,6 +17,8 @@ client.start({
frappe.modules.todo_client = require('frappejs/models/doctype/todo/todo_client.js');
frappe.modules.account_client = require('../models/doctype/account/account_client.js');
frappe.desk.add_sidebar_item('Session', '#list/session');
frappe.desk.add_sidebar_item('ToDo', '#list/todo');
frappe.desk.add_sidebar_item('Accounts', '#list/account');
frappe.desk.add_sidebar_item('Items', '#list/item');