You are here

function ace_editor_library in Ace Code Editor 7

Implements hook_library().

For using drupal_add_library()

File

./ace_editor.module, line 550
Ace Editor module.

Code

function ace_editor_library() {
  $libraries['ace'] = array(
    'title' => 'Ace Editor',
    'website' => 'http://ace.c9.io/',
    'version' => '',
    'js' => array(
      libraries_get_path('ace') . '/src/ace.js' => array(),
      libraries_get_path('ace') . '/src/ext-language_tools.js' => array(),
    ),
  );
  return $libraries;
}