Mini Shell

Direktori : /var/www/vhosts/ccp.ac.th/backup_full/httpdocs/moodle/theme/academi/amd/build/
Upload File :
Current File : /var/www/vhosts/ccp.ac.th/backup_full/httpdocs/moodle/theme/academi/amd/build/theme.min.js.map

{"version":3,"file":"theme.min.js","sources":["../src/theme.js"],"sourcesContent":["// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * theme.js\n * @package    theme_academi\n * @copyright  2015 onwards LMSACE Dev Team (http://www.lmsace.com)\n * @author    LMSACE Dev Team\n * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\n define(['jquery'], function($) {\n    var img = $(\"nav#header\").find('.avatar').find('img[src$=\"/u/f2\"]');\n    var src = img.attr('src');\n    img.attr('src', src + \"_white\");\n    /* ------- Check navbar button status -------- */\n    if ($(\"#header .navbar-nav button\").attr('aria-expanded') === \"true\") {\n        $(\"#header .navbar-nav\").find('button').addClass('is-active');\n    }\n    /* ------ Event for change the drawer navbar style  ------ */\n    $(\"#header .navbar-nav button\").click(function() {\n       var This = $(this);\n        setTimeout(function() {\n            if (This.attr('aria-expanded') === \"true\") {\n                $(\"#header .navbar-nav\").find('button').addClass('is-active');\n            } else {\n                $(\"#header .navbar-nav\").find('button').removeClass('is-active');\n            }\n        }, 200);\n    });\n\n    var foothtml = $('footer#page-footer').text();\n    if ($.trim(foothtml).length == 0) {\n        $('footer#page-footer').addClass('empty-footer');\n    }\n    var addhtml = $('.address-head').text();\n    if ($.trim(addhtml).length == 0) {\n        $('.address-head').addClass('empty-address');\n    }\n\n});"],"names":["define","$","img","find","src","attr","addClass","click","This","this","setTimeout","removeClass","foothtml","text","trim","length","addhtml"],"mappings":";;;;;;;AAqBCA,6BAAO,CAAC,WAAW,SAASC,OACrBC,IAAMD,EAAE,cAAcE,KAAK,WAAWA,KAAK,qBAC3CC,IAAMF,IAAIG,KAAK,OACnBH,IAAIG,KAAK,MAAOD,IAAM,UAEwC,SAA1DH,EAAE,8BAA8BI,KAAK,kBACrCJ,EAAE,uBAAuBE,KAAK,UAAUG,SAAS,aAGrDL,EAAE,8BAA8BM,OAAM,eAC/BC,KAAOP,EAAEQ,MACZC,YAAW,WAC4B,SAA/BF,KAAKH,KAAK,iBACVJ,EAAE,uBAAuBE,KAAK,UAAUG,SAAS,aAEjDL,EAAE,uBAAuBE,KAAK,UAAUQ,YAAY,eAEzD,YAGHC,SAAWX,EAAE,sBAAsBY,OACR,GAA3BZ,EAAEa,KAAKF,UAAUG,QACjBd,EAAE,sBAAsBK,SAAS,oBAEjCU,QAAUf,EAAE,iBAAiBY,OACH,GAA1BZ,EAAEa,KAAKE,SAASD,QAChBd,EAAE,iBAAiBK,SAAS"}

Zerion Mini Shell 1.0