Sha256: 63f2708591b264f0ab20e70f5028c1d56e59e40abe7264f98b276a760fbd8c4a

Contents?: true

Size: 625 Bytes

Versions: 17

Compression:

Stored size: 625 Bytes

Contents

<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %><?php
/**
  * Implements hook_preprocess_html()
  */
function <%= project_name %>_preprocess_html(&$vars) {
  // Be sure replace this with a custom Modernizr build!
  drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/<%= project_js %>/modernizr-2.5.3.js', array('force header' => true));
  
  // yep/nope for conditional JS loading!
  drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/<%= project_js %>/loader.js');
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
compass-aurora-0.9.3 templates/shared/template.php.erb
compass-aurora-0.9.2 templates/shared/template.php.erb
compass-aurora-0.9.1 templates/shared/template.php.erb
compass-aurora-0.9 templates/shared/template.php.erb
compass-aurora-0.8.pre templates/shared/template.php.erb
compass-aurora-0.7.2 templates/shared/template.php.erb
compass-aurora-0.7.1 templates/shared/template.php.erb
compass-aurora-0.7 templates/shared/template.php.erb
compass-aurora-0.5.3 templates/shared/template.php.erb
compass-aurora-0.6 templates/shared/template.php.erb
compass-aurora-0.5.2 templates/shared/template.php.erb
compass-aurora-0.5.1 templates/shared/template.php.erb
compass-aurora-0.5 templates/shared/template.php.erb
compass-aurora-0.4 templates/shared/template.php.erb
compass-aurora-0.3 templates/shared/template.php.erb
compass-aurora-0.2 templates/shared/template.php.erb
compass-aurora-0.1 templates/shared/template.php.erb