function layout_responsive_load_rld_application in Layout 7
Load the files necessary to launch a ResponsiveLayoutDesigner application.
1 call to layout_responsive_load_rld_application()
- theme_layout_responsive_admin in plugins/
layouts/ responsive.inc - Draw the responsive layout admin interface.
File
- plugins/
layouts/ responsive.inc, line 353
Code
function layout_responsive_load_rld_application($path) {
// This is a messy, messy list of files. Eventually we'll want to package
// this app up into a single JavaScript file or wrap it in a Drupal library
// indirection. And minify it for inclusion on the release.
drupal_add_css($path . '/ResponsiveLayoutDesigner/assets/css/application.css');
drupal_add_css($path . '/ResponsiveLayoutDesigner/assets/css/grid.css');
drupal_add_js($path . '/ResponsiveLayoutDesigner/assets/js/plugins/breakup/jquery.breakup.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/main.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/Utils/Utils.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/LayoutManager/LayoutManager.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/LayoutPreviewer/LayoutPreviewer.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/LayoutList/LayoutList.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/LayoutStep/LayoutStep.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/StepManager/StepManager.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/StepList/StepList.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/Step/Step.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/RegionList/RegionList.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/Region/Region.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/GridList/GridList.js');
drupal_add_js($path . '/ResponsiveLayoutDesigner/app/libs/Grid/Grid.js');
}