style: format js files

This commit is contained in:
Ankush Menat
2024-03-10 19:45:40 +05:30
parent 2c16036ef3
commit ec74a5e566
566 changed files with 24307 additions and 21363 deletions

View File

@@ -1,14 +1,14 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
if(!window.erpnext) window.erpnext = {};
if (!window.erpnext) window.erpnext = {};
erpnext.subscribe_to_newsletter = function(opts, btn) {
erpnext.subscribe_to_newsletter = function (opts, btn) {
return frappe.call({
type: "POST",
method: "frappe.email.doctype.newsletter.newsletter.subscribe",
btn: btn,
args: {"email": opts.email},
callback: opts.callback
args: { email: opts.email },
callback: opts.callback,
});
}
};