/**
 * The Helper Class
 *
 * @author   Jelle De Loecker   <jelle@develry.be>
 * @since    1.0.0
 * @version  1.2.3
 *
 * @param    {ViewRender}   view
 */
var Helper = Blast.Collection.Function.inherits('Informer', 'Hawkejs.Helper', function Helper(view) {

	if (!view && typeof hawkejs != 'undefined') {
		view = new Hawkejs.ViewRender(hawkejs);
	}

	// Set the view render instance
	this.view = view;
});

/**
 * Register the helper
 *
 * @author   Jelle De Loecker <jelle@develry.be>
 * @since    1.2.3
 * @version  1.2.3
 */
Helper.constitute(function registerHelper() {

	var name = Blast.Bound.String.beforeLast(this.name, 'Helper') || this.name;

	Hawkejs.Hawkejs.helpers[name] = this;
});

/**
 * Print out something to the view
 *
 * @author   Jelle De Loecker   <jelle@develry.be>
 * @since    1.0.0
 * @version  1.0.0
 */
Helper.setMethod(function print(data) {
	this.view.print(data);
});

/**
 * Generate an RURL instance
 *
 * @author   Jelle De Loecker   <jelle@develry.be>
 * @since    1.0.0
 * @version  1.2.4
 */
Helper.setMethod(function parseURL(href, origin) {

	var result;

	// If it already is some kind of URL object, parse it again
	if (href && typeof href == 'object') {
		return Blast.Classes.RURL.parse(href, origin);
	}

	// Get the internal urlOrigin setting, if it's available
	if (!origin && this.view) {
		origin = this.view.internal('urlOrigin');
	}

	result = Blast.Classes.RURL.parse(href, origin);

	return result;
});

/**
 * Create and return a placeholder
 *
 * @author   Jelle De Loecker   <jelle@develry.be>
 * @since    1.0.0
 * @version  1.2.2
 *
 * @param    {Object}     options
 * @param    {Function}   fnc
 */
Helper.setMethod(function placeholder(options, fnc) {
	return this.view.placeholder(options, fnc);
});

/**
 * Create a new element
 *
 * @author   Jelle De Loecker   <jelle@develry.be>
 * @since    1.2.9
 * @version  1.2.9
 *
 * @param    {String}   name
 */
Helper.setMethod(function createElement(name) {
	return this.view.createElement(name);
});
@@ -1959,30 +1959,37 @@
 nt(name) %7B%0A%09
-return
+var element =
  this.view.c
@@ -1989,25 +1989,26 @@
 .view.create
-E
+_e
 lement(name)
@@ -2009,11 +2009,28 @@
 (name);%0A
+%09return element;%0A
 %7D);

Fix Helper#createElement