openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
313 stars 1.02k forks source link

Refactoring existing code #2828

Open muddlebee opened 6 years ago

muddlebee commented 6 years ago

Description

Refactor codebase and optimize it for more speed

Steps to Reproduce

Expected Behaviour

Actual Behaviour

Settings

Screenshots, if any

mbj36 commented 6 years ago

GitMate.io thinks the contributor most likely able to help you is @mbj36.

muddlebee commented 6 years ago

Will keep adding more to the list.

santoshconflux commented 6 years ago

@anweshknayak , Could you give more details on this?

muddlebee commented 6 years ago

@santoshmath as you see here https://github.com/openMF/community-app/blob/develop/app/scripts/modules/datepicker.js#L212

the html template is embedded in the javascript file. By refactoring I meant to make something like

template: "path_to_html_file"

Also it may solve this https://github.com/openMF/community-app/issues/2799. Which throws unwanted errors.