<commit_before><?php namespace Cello;

use \Asset,
	\Event,
	Orchestra\Acl,
	Orchestra\Core as O;

class Core {
	
	/**
	 * Start your engine.
	 *
	 * @static
	 * @access public
	 * @return void
	 */
	public static function start()
	{
		Acl::make('cello')->attach(O::memory());

		// Append all Cello required assets for Orchestra Administrator 
		// Interface usage mainly on Resources page.
		Event::listen('orchestra.started: backend', function()
		{
			$asset = Asset::container('orchestra.backend');

			$asset->script('redactor', 'bundles/orchestra/vendor/redactor/redactor.js', array('jquery', 'bootstrap'));
			$asset->script('cello', 'bundles/cello/js/cello.min.js', array('redactor'));
			$asset->style('redactor', 'bundles/orchestra/vendor/redactor/css/redactor.css', array('bootstrap'));
		});
	}
}<commit_msg>Update asset loading to be loaded in footer.<commit_after><?php namespace Cello;

use \Asset,
	\Event,
	Orchestra\Acl,
	Orchestra\Core as O;

class Core {
	
	/**
	 * Start your engine.
	 *
	 * @static
	 * @access public
	 * @return void
	 */
	public static function start()
	{
		Acl::make('cello')->attach(O::memory());

		// Append all Cello required assets for Orchestra Administrator 
		// Interface usage mainly on Resources page.
		Event::listen('orchestra.started: backend', function()
		{
			$asset = Asset::container('orchestra.backend: footer');

			$asset->script('redactor', 'bundles/orchestra/vendor/redactor/redactor.min.js', array('jquery', 'bootstrap'));
			$asset->script('cello', 'bundles/cello/js/cello.min.js', array('redactor'));
			$asset->style('redactor', 'bundles/orchestra/vendor/redactor/css/redactor.css', array('bootstrap'));
		});
	}
}
{'fraction_non_alphanumeric': 0.17388724035608308, 'fraction_numerical': 0.0, 'mean_word_length': 4.318611987381703, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1412134', 'n_tokens_mistral': 590, 'n_tokens_neox': 544, 'n_words': 116}