Last active
January 31, 2017 05:20
-
-
Save alexdev27/0b252553ca1239d2c89d9dbf56b3aa1a to your computer and use it in GitHub Desktop.
Revisions
-
alexdev27 revised this gist
Jan 31, 2017 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,11 @@ var mymodule = (function () { //// переменные //// //// ----------//// // Функция инициализации var launchInit = function () { _initVars(); // запуск инициализации переменных @@ -8,7 +14,7 @@ var mymodule = (function () { }; var _initVars = function () { // тут инициализируем переменные }; -
alexdev27 revised this gist
Jan 31, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ var mymodule = (function () { // Функция инициализации var launchInit = function () { _initVars(); // запуск инициализации переменных _launchListeners();// запуск прослушки событий }; -
alexdev27 revised this gist
Jan 31, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,8 @@ var mymodule = (function () { }; // другие функции располагаются здесь, до return return { init: launchInit }; -
alexdev27 revised this gist
Jan 31, 2017 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,11 @@ var mymodule = (function () { }; var _initVars = function () { // тут создаем и инициализируем переменные }; var _launchListeners = function () { // тут пишем код для прослушки событий -
alexdev27 created this gist
Jan 31, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ var mymodule = (function () { // Функция инициализации var launchInit = function () { _launchListeners();// запуск прослушки событий }; var _launchListeners = function () { // тут пишем код для прослушки событий }; return { init: launchInit }; })(); mymodule.init();