fix: removed Vue.prototype implementation

This commit is contained in:
Shariq Ansari 2022-09-29 19:20:32 +05:30
parent 5373780741
commit ede9188aa6
2 changed files with 1 additions and 11 deletions

View file

@ -43,7 +43,6 @@ frappe.Application = class Application {
throw "boot failed";
}
this.setup_frappe_vue();
this.load_bootinfo();
this.load_user_permissions();
this.make_nav_bar();
@ -183,11 +182,6 @@ frappe.Application = class Application {
});
}
setup_frappe_vue() {
Vue.prototype.__ = window.__;
Vue.prototype.frappe = window.frappe;
}
set_password(user) {
var me = this;
frappe.call({

View file

@ -161,11 +161,7 @@
frappe.reference_doc = {{ reference_doc | json }};
</script>
<script type="text/javascript" src="/assets/frappe/node_modules/vue/dist/vue.js"></script>
<script>
Vue.prototype.__ = window.__;
Vue.prototype.frappe = window.frappe;
</script>
<script type="text/javascript" src="/assets/frappe/node_modules/vue"></script>
{{ include_script("web_form.bundle.js") }}