You are here

function angular_media_library in CKEditor Widgets 7

Implements hook_library().

File

./angular_media.module, line 50
Implementation of angular_media.module.

Code

function angular_media_library() {

  // Library One.
  $path = angular_media_app_path();
  $libraries['angular-media-app'] = array(
    'title' => 'Angular Media app',
    'website' => 'http://albatrossdigital.com',
    'version' => '0.1',
    'js' => array(
      $path . 'js/libraries.min.js' => array(),
      $path . 'js/app.min.js' => array(),
      drupal_get_path('module', 'angular_media') . '/js/angular-media.js' => array(),
    ),
    'css' => array(
      $path . 'css/app.min.css' => array(
        'weight' => 1,
      ),
    ),
  );

  //dpm($libraries);
  return $libraries;
}