PHP Classes

File: app/Views/Include/add.resources.html.twig

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Silex MVC Blog  >  app/Views/Include/add.resources.html.twig  >  Download  
File: app/Views/Include/add.resources.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex MVC Blog
MVC based blog using on the Silex micro-framework
Author: By
Last change:
Date: 6 years ago
Size: 715 bytes
 

Contents

Class file image Download
<!-- Add script resources -->
<script type="text/javascript">
    if ( undefined === window.BSA) {
        window.BSA = {};
        // List script resources
        window.BSA.ScriptResources = [];
        // List script parameters
        window.BSA.ScriptParams = {};
        // List object instances 
        window.BSA.ScriptInstances = {};
        // Add script parameters
        addScriptParams = function (myclass, params) {
            var arrParams;
            if (BSA.ScriptParams[myclass]) {
                arrParams = BSA.ScriptParams[myclass];
                arrParams.push(params);
            } else {
                BSA.ScriptParams[myclass] = [params];
            }
        }
    }
</script> 
For more information send a message to info at phpclasses dot org.