Skip to content

Instantly share code, notes, and snippets.

@phwb
Last active October 2, 2019 16:30
Show Gist options
  • Save phwb/ac6a2a3144bc811d765b1954ec4d3c50 to your computer and use it in GitHub Desktop.
Save phwb/ac6a2a3144bc811d765b1954ec4d3c50 to your computer and use it in GitHub Desktop.
(function () {
// активация формы
function activateForm() {/*...*/}
// валидация формы
function validateForm() {/*...*/}
// тут просто экспортируем функции для работы с формой
window.form = {
activateForm,
validateForm
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment