. /** * Atto text editor undo plugin lib. * * @package atto_undo * @copyright 2014 Jerome Mouneyrac * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Initialise the strings required for JS. * * @return void */ function atto_undo_strings_for_js() { global $PAGE; // In order to prevent extra strings to be imported, comment/uncomment the characters // which are enabled in the JavaScript part of this plugin. $PAGE->requires->strings_for_js( array( 'redo', 'undo' ), 'atto_undo' ); }